5,598,980 Members 31,446 Now Online
XDA Developers Android and Mobile Development Forum

Lewa ROM/OS Porting Guide [4.1.x,4.2.x]

Tip us?
 
saksham.singh48
Old
#1  
saksham.singh48's Avatar
Senior Member - OP
Thanks Meter 1472
Posts: 716
Join Date: Aug 2013
Location: Jaipur
Info 2 Lewa ROM/OS Porting Guide [4.1.x,4.2.x]

LEWA ROM/OS PORTING GUIDE

Hello Everyone,
As U All Having Very Much Craze About The New Lewa OS. According To My Observation U All Loves Lewa ROM's Looks,Styles & Features

So Here's The Very Simple & Useful Guide To Port Lewa ROM/OS [4.1.x,4.2.x] Hope U All Like It-:

Some Tools/Utilities Required-:
ADB- This Will Help You Out In Deadly Conditions
WinRAR - For Opening Zip Files
Notepad++ - For Editing Text

ROMS Needed-:
Base ROM : MiUi ROM For Your Device
LewaOS ROM : Get It From Official Site or Take The One For Other Device Like A116 or A210.



Here Are The Steps-:

1. Open both ROMs using winRAR in two windows..No Need To Extract
2. Go to '/system' and delete '/system/app', '/system/framework' and '/system/media' folder from Base ROM (CM7)
3. Copy '/system/app' , '/system/framework' and '/system/media' folder from LewaOS to Base ROM.
Copying can be done by simply drag and drop between the winRAR windows
4. Go To '/system/bin' of Base ROM
--Copy all files present in '/system/bin' to LewaROM.
--Now from LewaROM copy all files from '/system/bin' folder to '/system/bin' of Base ROM
--This replaces all existing files of same name and adds missing files
5. Go To '/system/etc' of Base ROM
--Copy all files (except the folders) from '/system/etc' of BaseROM to '/system/etc' of LewaROM
--Now from LewaROM copy all files from '/system/etc' folder to '/system/etc' of Base ROM
--This also replaces all existing files of same name and adds missing files
6. Go To '/system/etc/init.d' of Base ROM
--Copy all files '/system/etc/init.d' of LewaROM to '/system/etc/init.s' of BaseROM
7. Go To '/system/etc/permissions' of Base ROM
--Copy all files from '/system/etc/permissions' of BaseROM to '/system/etc/permissions' of LewaROM
--Now from LewaROM copy all files from '/system/etc/permissions' folder to '/system/etc/permissions' of Base ROM
8. Go To '/system/lib' of Base ROM
--Copy all '*.so' from '/system/lib' of BaseROM to '/system/lib' of LewaROM
--Now from LewaROM copy all files from '/system/lib' folder to '/system/lib' of Base ROM
9. Go To /system/xbin of Base ROM
--Copy all files present in '/system/xbin' folder to '/system/xbin' of LewaROM.
--Now from LewaROM copy all files from '/system/xbin' folder to '/system/xbin' of Base ROM
10. Open 'build.prop' from both ROM using Notepad++
Add these lines below 'ro.cm.device=YOUR_DEVICE_NAME'
ro.lewa.version=YOUR_ROM_NAME
ro.lewa.device=YOUR_DEVICE_NAME
Add these lines in # ADDITIONAL_BUILD_PROPERTIES below 'ro.com.android.dataroaming='
ro.compcache.default=0
ro.lewa.swapper.part_path=/dev/block/mmcblk1p3
ro.lewa.swapper.flash_swappiness=99
ro.lewa.swapper.sd_swappiness=60
ro.error.receiver.system.apps=com.lewa.fc
ro.error.receiver.default=com.lewa.fc
persist.sys.notif-speaker=1
persist.sys.ring-speaker=1
persist.sys.alarm-speaker=1
Remove the following lines
ro.config.ringtone=Playa.ogg
ro.config.notification_sound=regulus.ogg
ro.config.alarm_alert=Alarm_Beep_03.ogg
persist.sys.themeId=Cyanbread
persist.sys.themePackageName=com.tmobile.theme.Cya nbread


Finally, It is Not At All My Guide or My Work. All The Credits of The Above Guide Goes To @blindndumb
Attached Thumbnails
Click image for larger version

Name:	Lewa-OS-306x460.png
Views:	725
Size:	98.7 KB
ID:	2488695  
Click Thanks Button If I Helped You

My Works-:
ROMS-:

Lightning ROM

Ultimate™Galaxy [S4 + Note 3 UI ]

Ultimate™NeXus ( Genuine NeXus Looks)


Want To Stay Updated With Latest Android Tech & News -- Visit Here
The Following 2 Users Say Thank You to saksham.singh48 For This Useful Post: [ Click to Expand ]
 
saksham.singh48
Old
#2  
saksham.singh48's Avatar
Senior Member - OP
Thanks Meter 1472
Posts: 716
Join Date: Aug 2013
Location: Jaipur
Wink Please Try To Port

@SuperDroid-BOND @sagarwep @khan_frd2002 @pratikmore @Akhilendra Gadde @mufti.arfan & All Others Please Try To Port New LEWA OS/ROM By The Above Method.
I Was Myself Trying The Above Method But I Can't Due To Lack of My Time. So I Posted It Here So That U All Can Have A Look & Give It A Try.
Click Thanks Button If I Helped You

My Works-:
ROMS-:

Lightning ROM

Ultimate™Galaxy [S4 + Note 3 UI ]

Ultimate™NeXus ( Genuine NeXus Looks)


Want To Stay Updated With Latest Android Tech & News -- Visit Here
The Following User Says Thank You to saksham.singh48 For This Useful Post: [ Click to Expand ]
 
mufti.arfan
Old
#3  
mufti.arfan's Avatar
Senior Member
Thanks Meter 847
Posts: 947
Join Date: Feb 2013
Location: Kashmir

 
DONATE TO ME
If lewa is from same chipset which you want to port, nothing needs to be changed, apart from camera libs, WiFi libs and some firmware files and of course the kernel.
If I had a working computer I would have had done it despite this that I sold my device.
P.S It's very easy to do porting at times.
Sent from my potato chamber using xda app-developers app
WORKED AS A TESTER AND 'HALF'-DEVELOPER FOR CM7 PORTS AND CUSTOM ROMS FOR GALAXY 5 @ MadTeam FORUMS, QUITE LEARNER



The Following User Says Thank You to mufti.arfan For This Useful Post: [ Click to Expand ]
 
srinath2912
Old
#4  
srinath2912's Avatar
Senior Member
Thanks Meter 92
Posts: 322
Join Date: Jan 2012
Location: Tirupati, A.P
No need to follow this long procedure ....just use lewa porting tools.....but need some patchings for bugs

Sent from my A110 using XDA Premium 4 mobile app
 
saksham.singh48
Old
#5  
saksham.singh48's Avatar
Senior Member - OP
Thanks Meter 1472
Posts: 716
Join Date: Aug 2013
Location: Jaipur
Quote:
Originally Posted by srinath2912 View Post
No need to follow this long procedure ....just use lewa porting tools.....but need some patchings for bugs

Sent from my A110 using XDA Premium 4 mobile app
Can U Do That & Port 4.2.x.

Sent from my GT-I9500 using XDA Premium 4 mobile app
Click Thanks Button If I Helped You

My Works-:
ROMS-:

Lightning ROM

Ultimate™Galaxy [S4 + Note 3 UI ]

Ultimate™NeXus ( Genuine NeXus Looks)


Want To Stay Updated With Latest Android Tech & News -- Visit Here
The Following 2 Users Say Thank You to saksham.singh48 For This Useful Post: [ Click to Expand ]
Tags
lewa os, porting guide
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes