Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Try to use some libs from cm7 if its a gb based rom
Try to use some libs from cm7 if its a gb based rom
sorryI don't know how to do that thosorry
It's pretty easy. Basically open the lewa zip, and a cm7 zip and copy over some libs from cm7 to lewa. The directories which control the libs you need to work on are the following
-=PHONE LIBRARIES=-
/system/lib/libril.so
/system/lib/libril-qc-1.so
/system/lib/libreference-ril.so
/system/lib/libril-qcril-hook-oem.so
/system/lib/libril-qc-1.so
/system/lib/libril-qc-qmi-1.so
-=CAMERA LIBRARIES=-
/system/lib/libcamera.so
/system/lib/liboemcamera.so
/system/lib/libmmjpeg.so
/system/lib/libmmipl.so
-=AUDIO LIBRARIES=-
/system/lib/libaudioalsa.so
/system/lib/libaudioeq.so
/system/lib/liba2dp.so
-=VIDEO LIBRAIES=-
/system/lib/egl/libEGL_adreno200.so
/system/lib/egl/libGLESv1_CM_adreno200.so
/system/lib/egl/libGLESv2_adreno200.so
/system/lib/egl/libq3dtools_adreno200.so
/system/lib/libgsl.so
-=WIFI=-
/system/lib/modules/libra.ko
/system/lib/modules/librasdioif.ko
After you make those changes you will want to look at the build.prop which is located in /system and open it with a text editor. Here are some of the key things you need to look at from the system.prop which is the file that gets used in compiling the CM7 source code that needs to be merged into the build.prop.
My suggestion is take your time and document all changes you do, try and be very systematic about it. That way if you mess up you can go back to different revision. While working on the 2.3.4 GB ROM I took the stock rom and called it v1.zip and would make like 2-3 changes and document it, then flash the ROM. If things worked and didn't break I would make a copy of that rom and rename it to v2.zip and then make more changes to it document and reflash. If it fixed more stuff then I would copy v2 and paste it and call it v3.zip and make more changes and continue on. If for some reason some of my changes broke I could always go back to the previous version.
It's really trial and error, it's not hard to do but is some what time consuming. Once you get to a point with data and voice not working that is when you need to decompile the service.jar frameworks.jar and such which becomes a little more intensive but hopefully this basic info will get the ball rolling for you for some of the basic stuff.
Alright I
I used CM7 to port this rom. By replacing the /system/app and frameworks folders. So why isn't everything working?

*Facepalm*, porting isn't nearly that easy. You have to edit the files as well as doing some smali editing.![]()
So replacing isnt the same as editing? Oh and when i run adblogcat at the setupd wizard screen i get Ignoring touch event because phone interface was null
Not sure what's up with that, but flashing gaaps is useless on this rom, I did the bypass thing Joemossjr posted and none of the google apps were there. Not even the Play Store.
Not sure what's up with that, but flashing gaaps is useless on this rom, I did the bypass thing Joemossjr posted and none of the google apps were there. Not even the Play Store.
What about extracting the apps from gapps and placing them in the rom and flashing?
It's pretty easy. Basically open the lewa zip, and a cm7 zip and copy over some libs from cm7 to lewa. The directories which control the libs you need to work on are the following
-=PHONE LIBRARIES=-
/system/lib/libril.so
/system/lib/libril-qc-1.so
/system/lib/libreference-ril.so
/system/lib/libril-qcril-hook-oem.so
/system/lib/libril-qc-1.so
/system/lib/libril-qc-qmi-1.so
-=CAMERA LIBRARIES=-
/system/lib/libcamera.so
/system/lib/liboemcamera.so
/system/lib/libmmjpeg.so
/system/lib/libmmipl.so
-=AUDIO LIBRARIES=-
/system/lib/libaudioalsa.so
/system/lib/libaudioeq.so
/system/lib/liba2dp.so
-=VIDEO LIBRAIES=-
/system/lib/egl/libEGL_adreno200.so
/system/lib/egl/libGLESv1_CM_adreno200.so
/system/lib/egl/libGLESv2_adreno200.so
/system/lib/egl/libq3dtools_adreno200.so
/system/lib/libgsl.so
-=WIFI=-
/system/lib/modules/libra.ko
/system/lib/modules/librasdioif.ko
After you make those changes you will want to look at the build.prop which is located in /system and open it with a text editor. Here are some of the key things you need to look at from the system.prop which is the file that gets used in compiling the CM7 source code that needs to be merged into the build.prop.
My suggestion is take your time and document all changes you do, try and be very systematic about it. That way if you mess up you can go back to different revision. While working on the 2.3.4 GB ROM I took the stock rom and called it v1.zip and would make like 2-3 changes and document it, then flash the ROM. If things worked and didn't break I would make a copy of that rom and rename it to v2.zip and then make more changes to it document and reflash. If it fixed more stuff then I would copy v2 and paste it and call it v3.zip and make more changes and continue on. If for some reason some of my changes broke I could always go back to the previous version.
It's really trial and error, it's not hard to do but is some what time consuming. Once you get to a point with data and voice not working that is when you need to decompile the service.jar frameworks.jar and such which becomes a little more intensive but hopefully this basic info will get the ball rolling for you for some of the basic stuff.
when i get home i will work on it to on saturday
*doublefacepalm* the libs were already copied over by oldmanstatic. The whole LeWa.zip already had that done.After copying the libs from cm7 the only thing that kinda seemed to work was the video library. The wifi still worked and the camera still worked but the front camera does not allow you to take pics or record a video.
*doublefacepalm* the libs were already copied over by oldmanstatic. The whole LeWa.zip already had that done.
You guys need help bad, I'm still waiting on FrenchToast though...
FrenchToast you coming back today? I want to see if I can fix everything in this ROM(as a side project) that works in CM7 since GB is easier than ICS.
You mean Saturday right?....I'm sorry an emergency popped up ill be on either later today or Sunday.
You mean Saturday right?....