adeii

[DEV][ROM][6.0.1][ALL] Lineage OS 13.0 [06.06.2017.]

Recommended Posts

madix-333    18

Good russian forum witch guide for build from source
http://4pda.ru/forum/index.php?showtopic=209610

Share this post


Link to post
Share on other sites
madix-333    18

Hi Adeii. Maybe help you, this for msm7x27a
https://github.com/ROM-PacMe/android_device_lge_e610/commits/cm-14.1
https://github.com/ROM-PacMe/build/commits/ng7.1
https://github.com/ROM-PacMe/android_device_lge_msm7x27a-common/commits/cm-14.1

Share this post


Link to post
Share on other sites
adeii    87

Thanks again, madix!

I'd already track ROM-PacMe sources i add changes from his cm13 to cm14.1 to chil360's cm13-y300.

Maybe I've missed something for using L7 device https://github.com/ROM-PacMe/android_device_lge_p700 not L5 (e610)

Here is log I got with ninja and without jack: https://pastebin.com/XH8Nte6z

UPDATE: now running

breakfast u8833, lunch glaze_u8833-userdebug, LANG=C m showcommands dist USE_NINJA=false EMMA_INSTRUMENT=true

UPDATE2: wrong device! L7 = p700 use msm7227 chipset, y300/g510 and L7 II = p713 = Vee7 use msm8225 chipset!

https://github.com/LegacyLG/android_device_lge_vee7 should be use

but still not booting (restart on boot)



 

Edited by adeii

Share this post


Link to post
Share on other sites
madix-333    18

Add dependencies file. in log WARNING: device/huawei/u8833/glaze.dependencies file not found
see https://github.com/fourkbomb/lineage_dependencies

Share this post


Link to post
Share on other sites
adeii    87
On ponedeljak, 24. april 2017. at 0:16 PM, madix-333 said:

Hi. Try enable jack i think this error in ril.

No problem with ril, same error for compiling any app, exp. packages/apps/Calculator. "make javac-check-Calculator" finish make of classes-no-debug-var.jar, but "mma" gives:

Quote

ninja: error: '/home/ade/android/y300/out/host/linux-x86/bin/dex2oatd', needed by '/home/ade/android/y300/out/target/product/u8833/dex_bootjars/system/framework/arm/boot.art', missing and no known rule to make it
 

UPDATE: repo sync, make clobber & make clean, rm ~/.jack*, something going on right - it makes classes.dex.toc for the first time :) but it will last very long....

UPDATE2: patch for /prebuilts/sdk/tools/jack_server_setup.mk, line 25: jack_vm_args := -Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4g   <--- know jack works!



 

Edited by adeii

Share this post


Link to post
Share on other sites
adeii    87
On ponedeljak, 24. april 2017. at 1:48 PM, madix-333 said:

Add dependencies file. in log WARNING: device/huawei/u8833/glaze.dependencies file not found
see https://github.com/fourkbomb/lineage_dependencies

nice, but it only list device, device-common and kernel for official supported devices by CM/Lineage. we already add these in .repo/local_manifests/*.xml so no need for u8xxx.dependancies

 

Edited by adeii

Share this post


Link to post
Share on other sites
adeii    87
On 27.4.2017. at 10:41 AM, madix-333 said:

Hi Adeii. Can you make rom for u8951d dual-sim?

What exactly is your model G510-0010 or G510-0200 or G510-0251 ?!

Have you test LineageOS G510-0100 and did you got 1 working sim?! I need sourcecode or compiled rild for dual-sim model...

If it work, can you add libdualsimswitch.so from https://github.com/CyanogenMod10-U8833D-U8951D/proprietary_vendor_huawei/commit/b571322c2d76e539c487b3677d66015f765d0f34 in zip than flash rom? or I can make you flashable zip.

Have you tested LEWA OS and got 2 working sim cards? 

Or New Bee rom with 2 working SIM cards? http://4pda.ru/forum/index.php?showtopic=571902&

Edited by adeii

Share this post


Link to post
Share on other sites
madix-333    18

My model G510-0010 flash lineage-13.0-20170315-UNOFFICIAL-u8951 and ril_u8951d dual-sim not work. flash repack https://4pda.ru/forum/index.php?showtopic=463222&st=7720#entry44613669
cm-13.0-20160128-UNOFFICIAL-d9 dual-sim not work. than flash Baseband-eur. and dual-sim work on d9 rom.

Share this post


Link to post
Share on other sites
adeii    87
16 hours ago, madix-333 said:

My model G510-0010 flash lineage-13.0-20170315-UNOFFICIAL-u8951 and ril_u8951d dual-sim not work. flash repack https://4pda.ru/forum/index.php?showtopic=463222&st=7720#entry44613669
cm-13.0-20160128-UNOFFICIAL-d9 dual-sim not work. than flash Baseband-eur. and dual-sim work on d9 rom.

OK, what if you add all missing bin and lib files from https://github.com/jsr-d9/android_vendor_jsr/tree/cm-13.0/d9 and replace all *ril* files to lineage-...-u8951.zip and than flash? If not working, flash modem_eu.zip HERE (or baseband_eur,zip). hm... maybe not all *ril* files according to https://github.com/jsr-d9/android_vendor_jsr/blob/cm-13.0/d9-vendor-blobs.mk, others replace from cm-13....d9.zip


 

update:

look for something in /default.prop to change like:


# Telephony
50	rild.libargs=-d /dev/smd0
51	rild.libpath=/system/lib/libril-qc-1.so
52	ril.subscription.types=NV,RUIM
53	ro.telephony.call_ring.multiple=false
54	ro.telephony.ril_class=HuaweiQualcommRIL
55	ro.telephony.ril.v3=qcomdsds
56	ro.multi.rild=false

maybe like:

ro.boot.radio=0x5
 persist.radio.multisim.config=dsds
 persist.dsds.enabled=true
 ro.multi.rild=true



 

Edited by adeii

Share this post


Link to post
Share on other sites
madix-333    18

I tried replace lib ril radio in lineage witch d-9 files, but not working not show imei.
log witch HuaweiQualcommRIL https://pastebin.com/e2Z9BhGy
log witch out HuaweiQualcommRIL https://pastebin.com/ntd4pcst

I flash modem_eu but the same.
Witch baseband and modem ch calls work but it hangs on call. Miui 4.8.8 all works New Bee not tried.

Edited by madix-333

Share this post


Link to post
Share on other sites
adeii    87
On 1.5.2017. at 9:08 AM, degradatoome said:

Hi, Adeii! Do you plan to create fixed Slim6 with working camera?

This is latest Slim6 build ver.2.0 from chil360, with replaced kernel, from LOS 13, with working camera 5MPx, and opengapps keyboard fix!

But forgot to replace wifi modules, so flash ROM + slim6-fixedkernel from Slim6 @ AFH

If you want just higher VM heap in Slim6, flash ROM + Slim6-Y300-Orig-Kernel-Fix from the same link.  

Share this post


Link to post
Share on other sites
adeii    87
On ponedeljak, 01. maj 2017. at 4:20 PM, madix-333 said:

I tried replace lib ril radio in lineage witch d-9 files, but not working not show imei.
log witch HuaweiQualcommRIL https://pastebin.com/e2Z9BhGy
log witch out HuaweiQualcommRIL https://pastebin.com/ntd4pcst

I flash modem_eu but the same.
Witch baseband and modem ch calls work but it hangs on call. Miui 4.8.8 all works New Bee not tried.

Sorry, i'd miss something.

You flash cm-13.0-(latest one)-d9 and baseband_eu on your u8951d and both sim cards work ?

I'll could try to make d9 patch for lineageos 13.0 g510 for new build at the end of May. 
 

Share this post


Link to post
Share on other sites
madix-333    18

Hi Adeii, when flash modem_eu-dialsimU8xxx.zip i lost imei. I restore from backup then flash lineage-13.0-20170315-UNOFFICIAL-u8951 and replase system bin,lib files from jsr-d9 cm13 flash repack kernel and edited build.prop, dual-sim work. On android 6 dual-sim work witch Baseband-eur.zip, on android 4.1-4.4 need Baseband-lewa.zip or original g510-0010 baseband. I made patch for lineage-13.0-20170315 g510-0010 users please test it. Patch http://sendfile.su/1332477 Baseband eur http://sendfile.su/1332496

In lineage battery drain is too fast, in ResurrectionRemix-M-v5.7.1 a little better.

Edited by madix-333

Share this post


Link to post
Share on other sites
adeii    87

Does CM works slower than Lineage and RR 5.7.1. ?! If so:

default.prop of lineage and rr 5.7.1 has

dalvik.vm.dex2oat-Xms=8m
dalvik.vm.dex2oat-Xmx=96m
dalvik.vm.image-dex2oat-Xms=48m
dalvik.vm.image-dex2oat-Xmx=48m

default.prop of cm13 has higher heap

dalvik.vm.image-dex2oat-Xms=64m
dalvik.vm.image-dex2oat-Xmx=64m
dalvik.vm.dex2oat-Xms=64m
dalvik.vm.dex2oat-Xmx=512m

since CMA is disabled in rr 5.7.1 and lineage to make camera works, more RAM can be free. https://github.com/knoelli/chil360-kernel/commit/9d0f38ebdd8888a1a90ae8e090d7f7c6281010cd

init.device.rc in lineage/RR has: service mpdecision /system/bin/mpdecision --no_sleep --avg_comp

init.device.rc in cm13 has: service mpdecision /system/bin/mpdecision --avg_comp   <--- does removing "no sleep" preserve more or less battery or reduce blackscreen chance?!

All other files in patch and baseband can be use to make lineage_u8951d that work...

Share this post


Link to post
Share on other sites
madix-333    18

I use this kernel source https://github.com/jsr-d9/android_kernel_jsr_msm8625/tree/pvs camera work witch cma on, memory 426MB total, blackscreen bug not found. In cm13-RR-lineage service mpdecision are disabled in init.device.rc, default.prop from jsr-d9. No sleep i remove since cm11, maybe not need.

Share this post


Link to post
Share on other sites
madix-333    18

Hi Adeii, in rr i use adaptive govenor. For debug kernel see http://sendfile.su/1333026

Share this post


Link to post
Share on other sites
adeii    87

Good news for LG L7 II (Vee7) users: [7.1.2] GlazeOS 1.0 is successfully built and uploading to AFH  Anyone want to try?!

Since it has similar hardware as Huawei msm-7x27a devices, GlazeOS can be built or ported for our devices, but will it work?! Will it boot before all?!
 

Share this post


Link to post
Share on other sites
adeii    87
On utorak, 09. maj 2017. at 8:44 AM, madix-333 said:

I use this kernel source https://github.com/jsr-d9/android_kernel_jsr_msm8625/tree/pvs camera work witch cma on, memory 426MB total, blackscreen bug not found. In cm13-RR-lineage service mpdecision are disabled in init.device.rc, default.prop from jsr-d9. No sleep i remove since cm11, maybe not need.

Someone says that got blackscreen on SlimLP and Slim6  but no BS on CM13. Maybe if forcing

turnOffProximitySensor(true);

mProximityWakeLock.release(0); in source of packages/apps/Dialer __   and/or ___    InCallUI / ProximitySensor.java ?

or backport this https://github.com/SlimRoms/frameworks_base/commit/929a2a8a003ab93bc974709802c32213d1264993 in SlimLP

If so, same kernel without changes could be used for LineageOS 13.0 for u8951d (with  baseband patches that you sent me).
 

Share this post


Link to post
Share on other sites
madix-333    18

Hi Adeii when GlazeOS for Huawei. Yes kernel from d9 it suits for y300-u8951, i made small chenges in board file for camera memory, add new features govenors,zcache etc..

In my old device lg e425 witch standart firmware it's built see https://github.com/andr3jx/MTK6577/tree/master/mediatek/binary/3rd-party/free/SRS_AudioEffect
maybe this feature work in Huawei.

Edited by madix-333

Share this post


Link to post
Share on other sites

Hi, Adeii! I want to inform you, that y300 can be a bit overclocked to 1095 MHz. Thus you can make overclocked kernels for y300, just set cpu at 1095))

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2016. MoDaCo uses IntelliTxt technology.