yashsingh1/xdaforums huggingface dataset:
[Android Software Development] blindndumb:
####################################################################################################

####################################################################################################

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:

STEP 2:

STEP 3:

STEP 4:

STEP 5:

STEP 6:

STEP 7:

STEP 8:

STEP 9:

STEP 10:

Rename BaseROM to whatever and Flash It..

Now Your Device has LewaOS

####################################################################################################

####################################################################################################

JoyOS Porting Guide

####################################################################################################

####################################################################################################

​

####################################################################################################

####################################################################################################

MookeOS Porting Guide

####################################################################################################

####################################################################################################

​

​

If You have any problem , ASK ME :)

For Further Info and Porting Guides Click Here
[Android Software Development] 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
[Android Software Development] GalaxyUser:
Thank you for the guide!

When I validate my pin code, the phone bootloop ..

CM7 as base

U8800X to port

Nexus S
[Android Software Development] blindndumb:
It should be .zip

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..
[Android Software Development] GalaxyUser:
Bootloop when i valid my pin code :S

I will get logcat.. Thanks :)
[Android Software Development] kornolio80:
I'm wondering if this will work on a Motorola Atrix... anyway, I'll give it a try and post results.

cheers, :D
[Android Software Development] blindndumb:
Give A Try.. Will surely boot up
[Android Software Development] kornolio80:
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! :D
[Android Software Development] edwarddd:
Thanks , I try to make lewa os for mi device :D

This metod works for another rom ( miui , joyos etc, ) except of the build.prop of course
[Android Software Development] r1c4rd0:
do anybody has sucessfull made a rom with this tutorial?

i wish to make cm9 work on my huawei u8800 x5 ideos, based on ics aurora, can i use this tutorial?

thanks anyway
[Android Software Development] blindndumb:
You should be using the base boot.img ..

and try to use the lewa libandroid_runtime.so
[Android Software Development] ak700:
Hey,

First of all thanks for the guide. I was able to boot into the lewa os. I am facing a problem with the calling. When I call someone or someone else calls me, I can hear his voice but he can't hear mine.

Any fix for that?

Also the sd manager app is crashin. Will replace that with something else.

Thanks again
[Android Software Development] Thatgrass:
Thanx
[Android Software Development] parthabhatta:
Thanks blindndumb.

I have successfully ported Lewa OS in CM7 for my Optimus 2x and its running great & smooth and still now after 6 hours no major problems found. I am still using it with a custom kernel from Vadonka (from Optimus 2x thread) and no problems for me. Call, message, data, wifi, bluetooth working. Others are being tested. Great quadrant score of 2500+plus. I am very excited as this is my first port ever and that too successful at first go. Thanks to blindndumb. I followed his tutorial religiously.

The lewa version for V880 was taken from ( version 24/03/12 from http://android.modaco.com/topic/351870-【rom】lewa-offical-rom-for-ztx-blade-v880-english-version/ ). Thanks to Lew team for that.

The CM7 version was taken from our very own temasek of 2x forum ( version 95 from http://xdaforums.com/showthread.php?t=1421425 ). Thanks to temasek for that.

Any interested O2X owners may try. But be careful as something done wrongly / in haste may result in problems as already told by blindndumb.
[Android Software Development] erseta:
Okk thanks!! My boot.img is the CM7 one, I'll now try the lewa runtime, thanks!
[Android Software Development] erseta:
It didn't work...
[Android Software Development] superbeak:
Porting ics roms is different from gb roms.
[Android Software Development] broodplank1337:
Ok so I did an attempt to port, using an early beta of CM7 (yes the i9001 doesn't even have a stable cm7), all the libs from LeWa screwed the whole system up, so I tried to only copy /app, /framework, /media & /system/etc/permissions, After doing this, it boots actually till the lockscreen but then the screen is frozen and bootloops after a while

I get "Failed to extract an album art" in ddms, so does that mean that extracting the files in the media folder manually could solve the problem?

edit: nvm, only pngs inside, where to place them xD

edit2: lol got it working, added some extra things from /etc and now it boots
[Android Software Development] r1c4rd0:
could someone make one ics room port tutorial? :p
[Android Software Development] Jeik:
Wildfire is mdpi like xperia x8(e15i)!!!!!!press thanks ;)
[Android Software Development] lo2ay:
I won't press thanks as the wildlife is ldpi (230x320)

The wildfire S is mdpi.
[Android Software Development] k.janku1:
U r so rude, he was trying to help
[Android Software Development] lo2ay:
Well it wasn't my intention to sound rude, but I'm just correcting his information.
[Android Software Development] kishankpadiyar:
Guys anyone wud mind answering ma query plz.? :)
[Android Software Development] karlo0321:
NONE!
[Android Software Development] kishankpadiyar:
LewaOS or joyOS for ldpi..?
[Android Software Development] karlo0321:
try this one from Galaxy Mini http://xdaforums.com/showthread.php?t=1670779
[Android Software Development] kishankpadiyar:
thnx man.. i rele appreciate your help..:)
[Android Software Development] pratikmore:
Everything is working in previous build.thanks.lewa os on galaxy3.mokee os ported successfully for galaxy 3.
[Android Software Development] Rafase282:
For the G2x I have issues, Dialer does not work, if I use dialer from old build then dialer works but settings get two bugs, network settings is white on white, and call settings crashes.

I'm still trying to find a solution.
[Android Software Development] pratikmore:
Use the previous lewa os build,on which everything is working.new build have the issues of dialer and sd manager crashes.
[Android Software Development] Rafase282:
The problem with that is that it bring some bugs as call settings crashing, network settings being white on white, and maybe the camera recording bug which I'm not sure about that one in particular.
[Android Software Development] jmtheiss:
Just wanted to say I was able to use this (and the associated JoyOS guide) to whip up my own ports for the Samsung Captivate (SGH-i897).

The LewaOS port went without a hitch, and looks like it runs fine.

The JoyOS port had a few hiccups, which boiled down to the ContactsProvider.apk causing multiple FC's due to "process.android.acore". To fix this, I simply rolled the CM7.2 ContactsProvider.apk into the package. This did break the "Favorites" functionality of the Contacts app, but at least it functions otherwise.
[Android Software Development] blindndumb:
Have been busy with my ROM ports..

Just took a glance of this thread..

Seems a lot of Ports of JOY, LEWA came to different devices :cowboy::cowboy:

I will soon update with some new guides.. some SENSE and NONSENSE( ICS + GB )

But surely.. I will take some time..

Meanwhile check my works and guides at www.blindndumb.com

Thanks to all

Cheers :)
[Android Software Development] OrrPenn18:
Tried porting JoyOS to SGS II

The rom boots up fine but acore starts fc'ing! I saw your important note on your blog but still! :/ Any help?
[Android Software Development] jmtheiss:
Try replacing the "ContactsProvider.apk" that comes with JoyOS with the one that comes with CyanogenMod. That worked for me (although it broke the "favorites" functionality in the contacts app).
[Android Software Development] karlo0321:
just do copy libsqlite.so and libsqlite_ini.so from rom to base. to prevent force closing the acore something.
[Android Software Development] askpcguy:
Any chance for a guide request? There are a couple I seen in the Captivate Development forum but I want to know if it'll be more work than indicated by the threads.

Thanks!
[Android Software Development] karlo0321:
try porting again then flash latest custom kernel for your x10 mini
[Android Software Development] x-dira:
how to port soft key lewa OS -->cm7 :)
[Android Software Development] pratikmore:
Logcat:-http://pastebin.com/srVsmifs

Can anyone help me,when i am calling;other person cant hear my voice.
[Android Software Development] dswaggz:
What if we don't have cm7 what could I use to port how about a stock rooted 2.3.6

via da v6'd sge4g beast courtesy of camcory
[Android Software Development] Majkio:
I have a problem

How would someone be able to see this logcat

I write what needs to be improved

https://dl.dropbox.com/u/45738350/log_GIO.rar
[Android Software Development] dswaggz:
Wtf can I get a answer please I've been waiting patiently :banghead::mad:

♚SGΣ4G V6'D G+ΩΠΣ♚

™SωΔGG GΔΠGG©
[Android Software Development] Trekfan422991:
Prolog not... depends how close to pure android the stock rom is...
[Android Software Development] bondocel:
Hi there i have been patiently waiting for a mokee os porting guide, could anyone post a guide?
[Android Software Development] parthabhatta:
+1.

alongwith a downloadable link for HDPI MOKEE ROM for porting to my O2X.
[Android Software Development] pratikmore:
You dont have to change build.prop otherwise follow same steps used for lewa rom.i have ported for galaxy 3.
[Android Software Development] parthabhatta:
Thanks. Mokee OS booted in my LG O2X. Now testing.
[Android Software Development] lakshay03:
Tried porting LewaOS to my X10. Used V880 as port and CM7 as base. Did everything as said in the op. Installation got aborted. Said many things, but in the end it was written something such as status 7.

HELP PLEASE ? :confused:
[Android Software Development] waynekirby:
Make sure you didn't do anything to the meta-inf folder
[Android Software Development] lakshay03:
No. I didn't do anything with that folder. Just followed the guide as said. :confused:
[Android Software Development] Jeik:
mokee os guide soon?
[Android Software Development] sharkboy0901:
Use the lewa OS guide its the same just don't touch the build.prop
[Android Software Development] Jeik:
Ok,will try
[Android Software Development] sharkboy0901:
If you need any help let me know I'll help you out
[Android Software Development] 181charan:
Hey Regarding Mokee OS... I presume we have to set permissions in the updater script for the SU and CPU settings to work?? Anyone knows what exactly to do???
[Android Software Development] pratikmore:
i have ported joy os and lewa os but it has outgoing call bug.other person cant hear my voice while i am calling,can anyone help me?
[Android Software Development] 181charan:
[/COLOR]

I am sorry if i was wrong but in the guide which helps port MIUIv4 somewher it was said give permission for some file in the updater script so that the SU app in the ROM works... So i thought thats how things worked.!
[Android Software Development] rmg2:
In the updater script permission already exist for su, all you need is the latest Superuser app from the PlayStore and the latest su binary!
[Android Software Development] sharkboy0901:
He means fixing the links to superuser and overclock in system settings

to do that first you need to decompile Settings.apk, then go to res>xml and open system_settings.xml with Notepad++ you'll see the lines for superuser and overclocking, replace the names with the following:

For superuser if you use that one from CHAINSDD it shoud be like this:

<com.android.settings.IconPreferenceScreen android:title="@string/system_superuser_title" settings:icon="@drawable/ic_system_superuser">
<intent android:targetPackage="com.noshufou.android.su" android:action="android.intent.action.MAIN" android:targetClass="com.noshufou.android.su.HomeActivity" />
</com.android.settings.IconPreferenceScreen>

and for NoFrills this:

<com.android.settings.IconPreferenceScreen android:title="@string/system_overclock_title" settings:icon="@drawable/ic_system_overclock">
<intent android:targetPackage="it.sineo.android.noFrillsCPU" android:action="android.intent.action.MAIN" android:targetClass="it.sineo.android.noFrillsCPU.activity.MainActivity" />
</com.android.settings.IconPreferenceScreen>

compile then push to phone and fix permissions

thanks to rmg2 for showing me how to do it
[Android Software Development] BigSplit:
You dont need to do that with the latest version of mokee(1.10) to get superuser to work. Just update superuser.apk and the su binary. As an alternative of that method for fixing overclocking you can remove the link completely that exists and add cmparts.apk back(if your base is cm7).

And rmg2 got those fixes from me, even though he never credited me.
[Android Software Development] BigSplit:
Oh, and to port mokee all you need to do is..

1. Replace framework/app folders with mokees

2. Copy media folder from mokee overtop your base media folder

3. Copy all libs with 'mokee' or 'pinyin' in the name from mokee to your base lib folder(should be 4 total, 2 of each).

4. That should get you booted, if not try replacing libandroid_runtime
[Android Software Development] Trekfan422991:
Thanke
[Android Software Development] rodmsantos:
Nice

Enviado via sinal de fumaça!
[Android Software Development] Trekfan422991:
Can anyone upload these files already modded to make su work and overclock?
[Android Software Development] I Am Marino:
Might be a dumb question but once ROM is ported. can it be installed as English default or make English the default language, something like that?
[Android Software Development] sharkboy0901:
It will be english upon boot because the build prop you are using will make it english

(if you use CM7 build prop)
[Android Software Development] jayallen1980:
I have a problem I have no 3g icon or data connection. I have my apn correct. I can make phone calls and send text messages and receive them. Any ideas how to fix my data connection. Also wifi works.
[Android Software Development] BigSplit:
Which ROM? For data connection on many chinese ROMs you need to enable data roaming(earlier versions of MIUI had the same problem). The latest version of Mokee does not have this problem.

As far as 3g, are you getting a 'roaming indicator' text or icon? If so you may need to decompile framework-res of both your base ROM and your target ROM, then copy the res -> xml -> eri.xml from your base and put it in the corresponding location of the target apk.
[Android Software Development] jayallen1980:
I used lewaos u880x_12.07_13 and I am not getting a roaming indicator or 3g icon.
[Android Software Development] BigSplit:
Can u post a screenshot and logcat?
[Android Software Development] jayallen1980:
Here are my screenshots

Here is my logcat:View attachment logcat.txt
[Android Software Development] Jeik:
Please give me the link to the theme you used?It looks good.
[Android Software Development] jayallen1980:
I got this theme by installing the miuihome launcher. The theme is called angl.
[Android Software Development] LukBoy99:
Which lewa os for ldpi (x10 mini pro NEED FAST REPLY PLEASE)
[Android Software Development] Trekfan422991:
My binary wont update to 3.1.1 fails at copying...
[Android Software Development] waeponx:
Things don't port over perfect, things FC, somethings don't work.
[Android Software Development] azoller1:
would it not be possible if there is no CM7 for the device porting to, LG Spectrum
[Android Software Development] s4shyam95:
Hey, can i use this kind of method for porting miui too ?

i would just like to know what changes will i have to make in the build prop in case of miui :)

Thanks
[Android Software Development] pratikmore:
Yes,you can make miui gb with this guide.you doesnt have to change in build.prop.keep it as it is.
[Android Software Development] s4shyam95:
cool , thanks a lot, ill give miui a try and ill see, if some error ill ask here :)

Thanks
[Android Software Development] pratikmore:
Lewa,joy,mokee os roms are based on cm7.so first port cm7 for your device.
[Android Software Development] frost866:
guys having problem with vending.apk on lewa os. I ported it to crespo(NS) but it seems broken. because i cant find any trace of vending there.

Any help?
[Android Software Development] waynekirby:
Have you flashed LeWa gapps?
[Android Software Development] diegofdg:
Excellent, thank you very much!!!

Greetings.
[Android Software Development] Rafase282:
I'm still having issues with Lewa and the p999 with the dialer crashing when receiving calls.
[Android Software Development] Megalith27:
Hi, can this guide be used to port FlyMeOS?

Thanks in advance
[Android Software Development] ardalaan:
i ported lewaOS successfully to my device

everything works fine except the camera

it says cannot connect to camera !

i tried 3rd party camera app but no success

any advice ?
[Android Software Development] Rafase282:
I'm having trouble deodexing the lewa rom with dsixda kitchen. Any other tool or script that could help me out?

On a side note I still cant solve the dialer crashing issue.
[Android Software Development] ThauExodus:
Do you mean the Crash when getting a call?
[Android Software Development] angel.grin:
question

can i use stock rom for base rom? because my device has no CM. thanks!
[Android Software Development] jazib360:
Which rom i should use to port to my htc legend ?
[Android Software Development] denseye:
hello all

I'm trying to port Lewa OS to my phone.

But there is one thing I don't manage to do : enable soft-keys (because my phone has no hardware keys)

I tried :

- qemu.hw.mainkeys=0 --> no effect wheras it works in all my other ROMs

- modifying in framework-res.apk config_shownavigationbar=true in bools.xml --> no effect

Does anyone have a clue ? :confused:
[Android Software Development] ThauExodus:
AW: [GUIDE][Updated 20-05]How To Port LewaOS, JoyOS To Your Device | 2 Minute NOOBS G

I allready ported it to the HTC legend, if you need a newer version, just tell me...

Gesendet von meinem HTC One X mit Tapatalk 2
[Android Software Development] lozohcum:
Good job, I have started my porting adventure.

Will you write guide how to port MokeeOS? :)

Finally I almsot finished my LewaOS port for gt540. (v1.2) but still one thing doesn't work -GSM

Does anyone know how to fix GSM in Lewa port?
[Android Software Development] T10NAZ:
Im having problems receiving calls on the lewa port and did a logcat, it said W/ActivityManager( 226): Unable to start service Intent { act=com.android.ussd.IExtendedNetworkService }: not found

i replaced it but said the same thing but i dont think i replaced all of them (i was working on it late at night lol)

My logcat if anyone would like to help http://pastebin.com/v9dKqPkX
[Android Software Development] coolbud012:
my device is xHDPI, so from where I should get port rom?
[Android Software Development] T10NAZ:
For me, pushing a systemUI.apk from a different device with the same resolution fixed the systemui.apk force close. I can't remember if it fixed the acore problem though :)
[Android Software Development] Saumitra Yadav:
hey plz help anyone can i use cm9 as base rom and plz could someone give me the link to download the mdpi rom becuase i want to port it for my HTC Explorer :) pl z someone help??
[Android Software Development] Saumitra Yadav:
Can you give me the link for mdpi device lewaos latest version please ??? I need to do it

:confused::screwy:
[Android Software Development] aguha1044:
lewa os

can you please give me the download link of lewa os for S5830 ??

I wanna give a try to port it on my MDPI device, but no where got the link to download the rom, so please. give it

mail ID : andropark007@gmail.com
[Android Software Development] zeyaan:
hey great work!!!

BTW can I use this guide to port a ROM using manufacturers ROM as base?

actually I have a Chinese re branded phone and I wanna try porting joy OS and lewa OS

will this help?

Chinese phone is k touch w680

re branded to Indian market as karbonn a9
[Android Software Development] icoolguy1995:
Can u tell how to remove Chinese contacts from dialer.
[Android Software Development] imam.krismanto:
Are you success to show navigation bar / soft-keys ?
[Android Software Development] lozohcum:
What about LewaOS JB? I'm trying to port it but with no success yet. I've tried smali diffing etc but still port doesn't boot

Wysłane z Xperi J [MIUI5 OS]
[Android Software Development] pirri_mori:
Hello friends, I'm trying to make a lewa port´s galaxy s i9000, but I have two things that do not work.

1 - fc incoming calls

2 - does not work thetering

Can anyone help me please?

This is the port of my rom http://www.htcmania.com/showthread.php?t=637937
[Android Software Development] Aditya R:
Can I realease the ROM after porting it? Is it OK?
[Android Software Development] kairon007:
thanks for the guide but stuck at boot
[Android Software Development] T10NAZ:
Can you post a logcat?
[Android Software Development] pirri_mori:
This guide works for 4.1.2? I can not pass the boot with cm10 based, can anyone help?
[Android Software Development] Shlomi93:
what if there is no cm7 for my device??

if there was cm7 i was useing it insted LEWA...
[Android Software Development] sakisosf:
If there is no CM7 you must port first CM7 and then try porting these ROMs.

On-Topic

Can I use this guide to port FlymeOS?Please answer!!!
[Android Software Development] ankitrocks:
umm HI

please ans this.

can I use Stock rom JB 4.2.1 as Base rom?

I am trying to port Lewa OS 5?

Thanks
[Android Software Development] darkharbinger81:
No you cant, it has to the same as the rom I.e cm 7 I've ported joyos which is cm7

---------- Post added at 01:02 AM ---------- Previous post was at 12:54 AM ----------

http://xdaforums.com/showthread.php?t=2402358

This is the thread from my ported joyos rom using this guide
[Android Software Development] Robsworth:
Where can i find the latest Lewa os port rom . (english as language as some have chinese language)
[Android Software Development] handsome1_blr:
Hi,

Can anyone help me port the LewaOs 5 to Xperia X10 ?? Pleaseeeeeeeeeeeeeeeeeeee

Regards.
[Android Software Development] blackbeard:
i tried porting lewa to canvas hd a116 keeping miui as the base and amoi n828 lewa rom which has exactly the same config as my device. but the device bootloops. any help?
[Android Software Development] darkharbinger81:
Try to use a cm7 build as base instead of miui as base