Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,733,782 Members 45,750 Now Online
XDA Developers Android and Mobile Development Forum

[GUIDE][Updated 20-05]How To Port LewaOS, JoyOS To Your Device | 2 Minute NOOBS Guide

Tip us?
 
blindndumb
Old
(Last edited by TRusselo; 27th October 2012 at 06:20 AM.)
#1  
blindndumb's Avatar
Senior Member - OP
Thanks Meter 4907
Posts: 1,095
Join Date: Sep 2011
Wink [GUIDE][Updated 20-05]How To Port LewaOS, JoyOS To Your Device | 2 Minute NOOBS Guide


################################################## ##################################################
################################################## ##################################################
LewaOS Porting Guide
################################################## ##################################################
################################################## ##################################################

Hey Folks !
I am going to show you one of the easiest way to port LewaOS To Your Device, which will hardly take 2 minutes.

PREREQUISITES :

adb- This will help you out in deadly conditions
winRAR - For opening zip files
Notepad++ - For editing text

ROMS YOU WILL NEED :

Base ROM : CM7 For Your Device
Mod edit: No longer available - see the note at the top of this post.
NOTE:
-----Use S5830 to port if your device is MDPI
-----Use U8800X, V880 to port if your device is HDPI

STEPS TO PORT :

STEP 1:
Quote:
Open both ROMs using winRAR in two windows..No Need To Extract
STEP 2:

Quote:
Go to '/system' and delete '/system/app', '/system/framework' and '/system/media' folder from Base ROM (CM7)
STEP 3:

Quote:
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
STEP 4:

Quote:
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
STEP 5:

Quote:
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
STEP 6:

Quote:
Go To '/system/etc/init.d' of Base ROM
--Copy all files '/system/etc/init.d' of LewaROM to '/system/etc/init.d' of BaseROM
STEP 7:

Quote:
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
STEP 8:

Quote:
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
STEP 9:

Quote:
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
STEP 10:

Quote:
Open 'build.prop' from both ROM using Notepad++

Add these lines below 'ro.cm.device=YOUR_DEVICE_NAME'
Quote:
ro.lewa.version=YOUR_ROM_NAME
ro.lewa.device=YOUR_DEVICE_NAME
Add these lines in # ADDITIONAL_BUILD_PROPERTIES below 'ro.com.android.dataroaming='

Quote:
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

Quote:
persist.sys.themeId=Cyanbread
persist.sys.themePackageName=com.tmobile.theme.Cya nbread
Rename BaseROM to whatever and Flash It..
Now Your Device has LewaOS


################################################## ##################################################
################################################## ##################################################
JoyOS Porting Guide
################################################## ##################################################
################################################## ##################################################

Quote:
Click Here For JoyOS Porting Guide

################################################## ##################################################
################################################## ##################################################
MookeOS Porting Guide
################################################## ##################################################
################################################## ##################################################

Quote:
Coming Soon Stay Tuned


If You have any problem , ASK ME
For Further Info and Porting Guides Click Here
Like my work? Consider donating via PayPal
Check out my apps !!

Twitter | G+
The Following 106 Users Say Thank You to blindndumb For This Useful Post: [ Click to Expand ]
 
ak700
Old
#2  
ak700's Avatar
Senior Member
Thanks Meter 435
Posts: 1,617
Join Date: Nov 2010
Location: 25.00 N, 71.00 W
Really nice.
I have one question ( Sorry if it's dumb, but I am a noob).
The base rom, CM7, should be a .tar file or a .zip ? Cause I have both. Thanks
The Following User Says Thank You to ak700 For This Useful Post: [ Click to Expand ]
 
GalaxyUser
Old
#3  
GalaxyUser's Avatar
Recognized Contributor
Thanks Meter 3230
Posts: 681
Join Date: Jun 2010
Location: Aix-en-Provence

 
DONATE TO ME
Thank you for the guide!
When I validate my pin code, the phone bootloop ..

CM7 as base
U8800X to port

Nexus S
 
blindndumb
Old
#4  
blindndumb's Avatar
Senior Member - OP
Thanks Meter 4907
Posts: 1,095
Join Date: Sep 2011
Quote:
Originally Posted by ak700 View Post
Really nice.
I have one question ( Sorry if it's dumb, but I am a noob).
The base rom, CM7, should be a .tar file or a .zip ? Cause I have both. Thanks
It should be .zip

Quote:
Originally Posted by GalaxyUser View Post
Thank you for the guide!
When I validate my pin code, the phone bootloop ..

CM7 as base
U8800X to port

Nexus S
May be you havent followed correctly..
OK .. Only for ROM to boot..
Use CM7 Base ROM..
Delete app, framework , media folder from base and copy the same folders from U8800x to base ROm
It will boot..
If Not Logcat will help you..
Like my work? Consider donating via PayPal
Check out my apps !!

Twitter | G+
The Following 4 Users Say Thank You to blindndumb For This Useful Post: [ Click to Expand ]
 
GalaxyUser
Old
#5  
GalaxyUser's Avatar
Recognized Contributor
Thanks Meter 3230
Posts: 681
Join Date: Jun 2010
Location: Aix-en-Provence

 
DONATE TO ME
Quote:
Originally Posted by blindndumb
May be you havent followed correctly..
OK .. Only for ROM to boot..
Use CM7 Base ROM..
Delete app, framework , media folder from base and copy the same folders from U8800x to base ROm
It will boot..
If Not Logcat will help you..
Bootloop when i valid my pin code :S
I will get logcat.. Thanks
 
kornolio80
Old
#6  
kornolio80's Avatar
Member
Thanks Meter 10
Posts: 70
Join Date: Jul 2009
Location: Bueos Aires
I'm wondering if this will work on a Motorola Atrix... anyway, I'll give it a try and post results.

cheers,
 
blindndumb
Old
#7  
blindndumb's Avatar
Senior Member - OP
Thanks Meter 4907
Posts: 1,095
Join Date: Sep 2011
Quote:
Originally Posted by kornolio80 View Post
I'm wondering if this will work on a Motorola Atrix... anyway, I'll give it a try and post results.

cheers,
Give A Try.. Will surely boot up
Like my work? Consider donating via PayPal
Check out my apps !!

Twitter | G+
The Following User Says Thank You to blindndumb For This Useful Post: [ Click to Expand ]
 
kornolio80
Old
#8  
kornolio80's Avatar
Member
Thanks Meter 10
Posts: 70
Join Date: Jul 2009
Location: Bueos Aires
Quote:
Originally Posted by blindndumb View Post
Give A Try.. Will surely boot up
Alright... it booted up, but launcher feels laggy (not the settings window though, this is strange). I'm assuming it doesn't have 2d (or 3d, not really sure, lol) acceleration.
Camera is borked, but it looks good overall... I'm not a developer, I was just curious what this was.

Thanks, cheers!
 
erseta
Old
#9  
Member
Thanks Meter 98
Posts: 94
Join Date: Oct 2008
Location: Barcelona
Quote:
Originally Posted by GalaxyUser View Post
Bootloop when i valid my pin code :S
I will get logcat.. Thanks
I got logcat for Nexus S, I think the problem is in this part:

Code:
D/MccTable(  297): locale set to es_es
D/ResourceType(  297): calling getConfigurations
D/ResourceType(  297): called getConfigurations size=31
W/dalvikvm(  225): No implementation found for native Landroid/view/Surface;.screenshot (II)Landroid/graphics/Bitmap;
I/ActivityManager(  225): Config changed: { scale=1.0 imsi=214/4 loc=en_US touch=3 keys=1/1/2 nav=1/1 orien=1 layout=34 uiMode=17 seq=3 themeResource=null}
W/AppWidgetService(  225): No android.appwidget.provider meta-data for AppWidget provider 'ComponentInfo{com.when.android.calendar365.vpublic/com.when.android.calendar365.vpublic.receiver.ServiceReceiver}'
W/AppWidgetService(  225): No android.appwidget.provider meta-data for AppWidget provider 'ComponentInfo{com.when.android.calendar365.vpublic/com.when.android.calendar365.vpublic.receiver.ServiceReceiver}'
W/AppWidgetService(  225): No android.appwidget.provider meta-data for AppWidget provider 'ComponentInfo{com.when.android.calendar365.vpublic/com.when.android.calendar365.vpublic.receiver.ServiceReceiver}'
E/JavaBinder(  225): *** Uncaught remote exception!  (Exceptions are not yet supported across processes.)
E/JavaBinder(  225): java.lang.UnsatisfiedLinkError: screenshot
E/JavaBinder(  225): 	at android.view.Surface.screenshot(Native Method)
E/JavaBinder(  225): 	at com.android.server.ScreenRotationAnimation.<init>(ScreenRotationAnimation.java:69)
E/JavaBinder(  225): 	at com.android.server.WindowManagerService.startFreezingDisplayLocked(WindowManagerService.java:10166)
E/JavaBinder(  225): 	at com.android.server.WindowManagerService.startAppFreezingScreenLocked(WindowManagerService.java:3778)
E/JavaBinder(  225): 	at com.android.server.WindowManagerService.startAppFreezingScreen(WindowManagerService.java:3810)
E/JavaBinder(  225): 	at com.android.server.am.ActivityRecord.startFreezingScreenLocked(ActivityRecord.java:411)
E/JavaBinder(  225): 	at com.android.server.am.ActivityStack.ensureActivityConfigurationLocked(ActivityStack.java:3474)
E/JavaBinder(  225): 	at com.android.server.am.ActivityManagerService.updateConfigurationLocked(ActivityManagerService.java:11513)
E/JavaBinder(  225): 	at com.android.server.am.ActivityManagerService.updateConfiguration(ActivityManagerService.java:11422)
E/JavaBinder(  225): 	at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:747)
E/JavaBinder(  225): 	at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:1495)
E/JavaBinder(  225): 	at android.os.Binder.execTransact(Binder.java:320)
E/JavaBinder(  225): 	at dalvik.system.NativeStart.run(Native Method)
W/dalvikvm(  225): threadid=8: thread exiting with uncaught exception (group=0x40015560)
E/AndroidRuntime(  225): *** FATAL EXCEPTION IN SYSTEM PROCESS: Binder Thread #2
E/AndroidRuntime(  225): java.lang.UnsatisfiedLinkError: screenshot
E/AndroidRuntime(  225): 	at android.view.Surface.screenshot(Native Method)
E/AndroidRuntime(  225): 	at com.android.server.ScreenRotationAnimation.<init>(ScreenRotationAnimation.java:69)
E/AndroidRuntime(  225): 	at com.android.server.WindowManagerService.startFreezingDisplayLocked(WindowManagerService.java:10166)
E/AndroidRuntime(  225): 	at com.android.server.WindowManagerService.startAppFreezingScreenLocked(WindowManagerService.java:3778)
E/AndroidRuntime(  225): 	at com.android.server.WindowManagerService.startAppFreezingScreen(WindowManagerService.java:3810)
E/AndroidRuntime(  225): 	at com.android.server.am.ActivityRecord.startFreezingScreenLocked(ActivityRecord.java:411)
E/AndroidRuntime(  225): 	at com.android.server.am.ActivityStack.ensureActivityConfigurationLocked(ActivityStack.java:3474)
E/AndroidRuntime(  225): 	at com.android.server.am.ActivityManagerService.updateConfigurationLocked(ActivityManagerService.java:11513)
E/AndroidRuntime(  225): 	at com.android.server.am.ActivityManagerService.updateConfiguration(ActivityManagerService.java:11422)
E/AndroidRuntime(  225): 	at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:747)
E/AndroidRuntime(  225): 	at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:1495)
E/AndroidRuntime(  225): 	at android.os.Binder.execTransact(Binder.java:320)
E/AndroidRuntime(  225): 	at dalvik.system.NativeStart.run(Native Method)
I/pixelflinger(  225): Needs: n=0x03515105 p=0x00000077 t0=0x00000001 t1=0x00000000
I/ARMAssembler(  225): generated scanline__00000077:03515105_00000001_00000000 [ 60 ipp] (79 ins) at [0x458ef2d0:0x458ef40c] in 106791 ns
D/dalvikvm(  180): GC_EXPLICIT freed 11K, 51% free 2671K/5379K, external 0K/0K, paused 210ms
E/LewaLockScreenView(  225): lockscreen draw
I/Process (  225): Sending signal. PID: 225 SIG: 9
D/dalvikvm(  180): GC_EXPLICIT freed <1K, 51% free 2671K/5379K, external 0K/0K, paused 130ms
D/dalvikvm(  180): GC_EXPLICIT freed <1K, 51% free 2671K/5379K, external 0K/0K, paused 130ms
I//system/bin/fsck_msdos(  176): ** /dev/block/vold/179:3
I//system/bin/fsck_msdos(  176): Primary/Backup bootblock miscompare
I//system/bin/fsck_msdos(  176): Primary:
I//system/bin/fsck_msdos(  176): 00 02 08 20 00 02 00 00 00 00 f0 00 00 10 00 04 00 00 00 00 00 d0 97 aa 01 71 6a 00 00 00 00 00 00 02 00 00 00 01 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 29 dd 1c 3c 88 4e 45 58 55 53 20 53 20 20 20 20 46 41 54 33 32 20 20 20 
I//system/bin/fsck_msdos(  176): Backup:
I//system/bin/fsck_msdos(  176): 00 02 08 20 00 02 00 00 00 00 f0 00 00 10 00 04 00 00 00 00 00 d0 97 aa 01 71 6a 00 00 00 00 00 00 02 00 00 00 01 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 29 dd 1c 3c 88 4e 4f 20 4e 41 4d 45 20 20 20 20 46 41 54 33 32 20 20 20 
I//system/bin/fsck_msdos(  176): ** Phase 1 - Read FAT (compare skipped)
I//system/bin/fsck_msdos(  176): Attempting to allocate 13624 KB for FAT
after this, everything dies.
 
edwarddd
Old
#10  
Senior Member
Thanks Meter 12
Posts: 183
Join Date: Nov 2011
Thanks , I try to make lewa os for mi device


This metod works for another rom ( miui , joyos etc, ) except of the build.prop of course

Tags
cm7, guide, how to, lewaos, port
Thread Tools
Display Modes