Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP blindndumb

28th April 2012, 04:36 AM   |  #1  
blindndumb's Avatar
OP Senior Member
Thanks Meter: 4,930
 
1,096 posts
Join Date:Joined: Sep 2011

################################################## ##################################################
################################################## ##################################################
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
Last edited by TRusselo; 27th October 2012 at 07:20 AM.
The Following 106 Users Say Thank You to blindndumb For This Useful Post: [ View ]
28th April 2012, 05:43 AM   |  #2  
ak700's Avatar
Senior Member
Flag 25.00 N, 71.00 W
Thanks Meter: 435
 
1,616 posts
Join Date:Joined: Nov 2010
More
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: [ View ]
28th April 2012, 11:50 AM   |  #3  
GalaxyUser's Avatar
Recognized Contributor
Flag Aix-en-Provence
Thanks Meter: 3,301
 
685 posts
Join Date:Joined: Jun 2010
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
28th April 2012, 12:36 PM   |  #4  
blindndumb's Avatar
OP Senior Member
Thanks Meter: 4,930
 
1,096 posts
Join Date:Joined: Sep 2011
Quote:
Originally Posted by ak700

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

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..
The Following 4 Users Say Thank You to blindndumb For This Useful Post: [ View ]
28th April 2012, 01:02 PM   |  #5  
GalaxyUser's Avatar
Recognized Contributor
Flag Aix-en-Provence
Thanks Meter: 3,301
 
685 posts
Join Date:Joined: Jun 2010
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
28th April 2012, 06:25 PM   |  #6  
kornolio80's Avatar
Member
Flag Bueos Aires
Thanks Meter: 13
 
73 posts
Join Date:Joined: Jul 2009
More
I'm wondering if this will work on a Motorola Atrix... anyway, I'll give it a try and post results.

cheers,
28th April 2012, 06:50 PM   |  #7  
blindndumb's Avatar
OP Senior Member
Thanks Meter: 4,930
 
1,096 posts
Join Date:Joined: Sep 2011
Quote:
Originally Posted by kornolio80

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
The Following User Says Thank You to blindndumb For This Useful Post: [ View ]
28th April 2012, 07:59 PM   |  #8  
kornolio80's Avatar
Member
Flag Bueos Aires
Thanks Meter: 13
 
73 posts
Join Date:Joined: Jul 2009
More
Quote:
Originally Posted by blindndumb

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!
28th April 2012, 09:25 PM   |  #9  
Member
Flag Barcelona
Thanks Meter: 98
 
94 posts
Join Date:Joined: Oct 2008
More
Quote:
Originally Posted by GalaxyUser

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.
28th April 2012, 10:32 PM   |  #10  
Senior Member
Thanks Meter: 12
 
183 posts
Join Date:Joined: 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

Post Reply Subscribe to Thread

Tags
cm7, guide, how to, lewaos, port
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes