yashsingh1/xdaforums huggingface dataset:
[LG G2 Mini] WoytazZer CZ:
It's can be turned on and off, CPA has problem with NFC, but I will try to test it with cart, (I don't have another device with NFC)

No problem, I'm testing whatever I can, and this kernel is great ! With CPA is the best . ( when I clean RAM I have almost 550MB free, average about 400MB :D)

---------- Post added at 07:34 AM ---------- Previous post was at 06:37 AM ----------

Hmm. No it's not reading, on CPA and my cards ( credits and traffic card), on stock the same apk show me " this card not supported " - for MHD traffic card but show me all info about my credit card ,

The apk is Bankomat card info (2) from F- droid. It's free.
[LG G2 Mini] Radac Stunghthumz:
For me this ROM is quickier than CM 12.0 for D620. With this kernel by [MENTION=6375355]Nikita Pro Android[/MENTION] i have the best Custom Rom available for now for our G2 Mini.

Vibration's work perfectly indeed, and everything is VERY fast, faster than CM 12 for me. Maybe thus is because of ART.

Thank you developers.

PS. There are still problems with camera? Because i don't see any problems for now, or maybe i'm blind or something XD
[LG G2 Mini] Martiz:
The rom is marvellous, everything works great (I don't have occasions to test the NFC), and the overall impression is of great smoothness! Also the kernel works well and has so many options to choose from :)

Really, the only bug worth mentioning is the double tap to wake, but if you can live with it this rom is (right now) way better than cm12 or stock rom!
[LG G2 Mini] WoytazZer CZ:
Yeah, it's look really faster than cm 12, and with this kernel twice .

Camera is good , maybe little better on CPA - based on CM11

(boot up to system about 35s system and about 40s user apps, instead of 1,2m and 1,5m on CM 12 with same apps ...)

Ou, and now it's show in otg tester, ready to otg ;) now we what only need is get power to USB ( get booster to reverse run)

Sent from my LG-D620 using CPA ROM +CM 11 v3.1 KERNEL
[LG G2 Mini] Diaze:
This rom dsnt need to flash with gapps? I dont see any link for gapps.

Also what s not working on this rom?
[LG G2 Mini] :
Take a closer look at the first post and you'll find the buglist. Gapps have to be installed since it is not allowed to upload ROMs which have them included.
[LG G2 Mini] Diaze:
can you give me the link for gapps please?
[LG G2 Mini] :
Really? Are you not even able to use Google? Google up "gapps" and click the FIRST link.
[LG G2 Mini] Diaze:
does doble tap to wake works?
[LG G2 Mini] Andrewbons:
Nearly perfect rom with custom kernel.

Bugs:

-SystemUpdateService wakelock always on. I had to disable via Autorun Manager (available on Play Store)

-sometimes it stucks few seconds when i do something. Rarely happens but goes away pretty quickly. Nothing serious

-Mobile data icon on quick launch is completely bugged, but it does it's job when it's clicked. I tried changing theme and it's not solved, just messed up. But still nothing serious

This is what i found in few hours of normal usage. If i find more i will let you know
[LG G2 Mini] Diaze:
can you tell me if doble tap to wake works? or knock?

c
[LG G2 Mini] Andrewbons:
Double tap and knock are not working. It's not rom-related but kernel-related (if i am right :P ). I suggest to disable all options about them to avoid any annoying kernel wakeloks
[LG G2 Mini] WoytazZer CZ:
Try CPA its base on cm11 ,theme works fine no bugs, no lags...

Knock on is kernel function and yes it's not working.

Lift to wake is sw ,u can download some apks for it from GP ( don't remember name)

Or u can use lock screen notifications and wake up when notification come .....

Try CPA ;)

Sent from my LG-D620 running on CPA
[LG G2 Mini] Diaze:
can you give me a dl link for cpa rom and lift to wake app. thanks
[LG G2 Mini] :
Tap to wake is kernel-based and l2w should be not that easy, too. I rather think that might be a problem with the driver or CM itself. You really should stay with the stock ROM and relock your bootloader since you have no idea of anything around here.
[LG G2 Mini] WoytazZer CZ:
OK, NP ,

http://xdaforums.com/devdb/project/?id=6486#featureRequests

http://www.crxteam.info/download/category/16-d620.html

---------- Post added at 11:45 AM ---------- Previous post was at 11:40 AM ----------

OK, NP ,

http://xdaforums.com/devdb/project/?id=6486#featureRequests

http://www.crxteam.info/download/category/16-d620.html
[LG G2 Mini] Radac Stunghthumz:
I must say camera is overexposured unfortunatelly.

In bright sun or light it is impossible to take a photo, it will be just bright photo nothing else.

Open camera from PS, or other apps from store didnt help.

If youre gonna toke photos, you should do it in minimal brightness in area
[LG G2 Mini] AntonPanos:
replace these https://www.dropbox.com/s/3d88k0p12iklgop/camera_fix_libs.zip?dl=0 files in /system/vendor/lib and change permission to 644 and reboot
[LG G2 Mini] baggino:
there is a solution for the malfunction of the GPS? very unstable
[LG G2 Mini] Radac Stunghthumz:
Omg man i don't know how to thank you, from where you got dis?
[LG G2 Mini] Nikita Pro Android:
The problem is in all CM builds for D618/D620. To tell the truth problem with photo was solved by one 4pda.ru user. He discovered that after replacing one library in system photo works correctly. But video still doesn't
[LG G2 Mini] Andrewbons:
This rom with nikita's kernel is almost perfect!!!!

Can someone just keep sources updated? I think that will solve some minor bugs
[LG G2 Mini] Diaze:
For me it always freeze for a minute or two when downloading apps..smtimes i must take out the battery..too much bugs for faily usage
[LG G2 Mini] Andrewbons:
Never happened to me. After i fixed google SystemUpdateService wakelock this rom works perfectly.

I suggest to keep an eye on betterbatterystats to see what's wrong on your device
[LG G2 Mini] Martiz:
May I ask you how to fix this wakelock? I tried to Google it but I got no results
[LG G2 Mini] wujaklija:
http://foxdeploy.com/2014/10/06/res...eep-awake-and-wakelocks-killing-your-battery/
[LG G2 Mini] Andrewbons:
Just download DisableService from playstore, then go on playservive and check systemupdate. Always check on betterbatterstats for further information.

BTW, when i have some free time (next month perhaps) i will start developing a working CM11. It would be my first time but at the moment we need an active CM developer ;)
[LG G2 Mini] WoytazZer CZ:
Deleted

---------- Post added at 06:47 AM ---------- Previous post was at 06:45 AM ----------

Try CPA ROM, it's based on CM11 , and it's build in wakelock and more functions like undervolt CPU - works with new CM 11 kernel great.

I thing CPA is better than cm11/cm12.(what I tested) It's best ROM for me for d620r.

But dev.stop working on it :(
[LG G2 Mini] Andrewbons:
1) It is NOT based on CyanogenMod, but on Paranoid

2) CrystalPA is just a failure project, just go for the main ones only (CyanogenMod, Paranoid or AOKP)

I suggest to stay on CyanogenMod because it's the closest thing to AOSP. And Google knows it better ;)

If you want a brand new world, you can go for MIUI (still based on CM, still a good choice)
[LG G2 Mini] WoytazZer CZ:
Yeah it's true :) , sorry my mistake, thanks for answer :thumbup: but CPA is close to aosp too :confused: ,like Cm(a lot of think for cm working on it) ,I thing.

, I tried miui it's not bad I will test it again , it's look good.

;)
[LG G2 Mini] AntonPanos:
So i'm thinking about quickremote... How can we get it on custom roms? I found in L90 forum some modded apks. I can open the app but there are no brands to select... Is quickremote a kernel or a software problem??
[LG G2 Mini] Tse™:
For QuickRemote to work you need to have permissive SELinux state and the QuickSDK.apk to work on custom rom as well.
[LG G2 Mini] predragiPredrag:
Does anyone have problem with taking pictures in the dark/club... Because camera app doesn't focus long enough, it just take picture and everything is blurred.

Even setting focus to infinity didn't help...
[LG G2 Mini] AntonPanos:
I am good with the battery life of my phone... 2 days using it normaly (messenging, playing, browsing, calling and other)

Sent from my LG-D620fr [CM11]
[LG G2 Mini] partyzant_x:
Im uploading now all system directory from twrp backup.

Not include /app, /apps, /priv-app, /media for smaller size.
[LG G2 Mini] :
on kernel and testing

IJ,

please describe what changes you made with regard to kernel source and toolchain used,

including any updates/upgrades in linux system, if any.

You need to get an sdcard, when you build/compile anything, you are the primary tester. When you are fairly certain that

your build is good, then post it for additional testers to see what they can break and tell you what you missed. But you need

that sdcard to make that backup of your system so you can really get started.

m

[MENTION=4623180]Zaaap72[/MENTION]

as you've successfuly built recoveries, do you have the meta inf folder including the updater binary an update script you guys will need for flashing new ota.zip's ? if you can locate this stuff in your out directory please post ?

Quick Question - does your guys recoveries have the option to backup individual partitions ? if so boot into recovery and make

a special backup of your recovery and lable it appropriately. this will come in very handy when testing starts. Believe me as i had to learn it the hard way.

Update - I have completed building boot.img via the cm11 integrated kernel build .

the sources used are from user garcia98 @ github

kernel source - https://github.com/Garcia98/android_kernel_lge_msm8226

device tree - https://github.com/Garcia98/android_device_lge_d620

i will be running mka recoveryimage now. when that gets sorted i can run mka otapackage.

When you guys settle on who will be testing i will start posting stuff.
[LG G2 Mini] invaderjohn:
Im gonna order a sdcard asap! And then i will test it myself.

I didnt do any changes in the kernel more than changen the governor to ondemand. And i corrected the errors i got and changed the lines with "" instead of <>, i compiled with toolchain arm-eabi-4.7.

Exported ARCH=arm and CROSS_COMPILE

And then make -j1

Got errors shown in previous post bit made a make clean and make oldconfig and make -j1 and then it worked, got an image.img and zimage.img and i took anykernel.zip and addad my zimage and .ko files i got from make modules.

I want to try it myself but i need an sdcard first as said. [emoji44]
[LG G2 Mini] Zaaap72:
Here you are.

I'm uploading my system.img at the moment.

As it is nearly 1GB it will take some time.

You can find my uploads here.
[LG G2 Mini] :
Ok,

thank you much. i needed to see what the updater script looks likes so i can put together a test package.

m
[LG G2 Mini] Zaaap72:
Stop this discussion in this thread!

Keep it clean!

You can do your fights with PM.

Thank you!
[LG G2 Mini] :
Sorry about that.

Sorry about that guys.

On an upbeat note, my build hasn't died yet, cross your fingers.

m
[LG G2 Mini] :
build died...YAY

okay so, my build dies here

target thumb C++: libstagefright <= frameworks/av/media/libstagefright/AudioPlayer.cpp
frameworks/av/media/libstagefright/AudioPlayer.cpp: In member function 'virtual android::status_t android::AudioPlayer::start(bool)':
frameworks/av/media/libstagefright/AudioPlayer.cpp:178:23: error: 'kKeySampleBits' was not declared in this scope
make: *** [/home/cm11/out/target/product/d620/obj/SHARED_LIBRARIES/libstagefright_intermediates/AudioPlayer.o] Error 1
make: *** Waiting for unfinished jobs....

Z, after rechecking op and looking at the manifest posted, my manifest is now this:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<!-- CM removals -->
<remove-project name="CyanogenMod/android_frameworks_av" />

<project name="CyanogenMod/android_hardware_qcom_fm" path="hardware/qcom/fm" remote="github" />
<project name="CyanogenMod/android_hardware_qcom_display-caf-new" path="hardware/qcom/display-caf-new" remote="github" />
<project name="CyanogenMod/android_hardware_qcom_media-caf-new" path="hardware/qcom/media-caf-new" remote="github" />
<project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" />
<project name="CyanogenMod/android_device_lge_d620" path="device/lge/d620" />
<project name="CyanogenMod/android_device_lge_d620" path="kernel/lge/msm8226" />
<project name="CyanogenMod/android_device_lge_d620" path="vendor/lge/d620" />
</manifest>

i didn't include this entry for first build

<!-- CM removals -->

<remove-project name="CyanogenMod/android_frameworks_av" />

will try with it.

m
[LG G2 Mini] Toledo_JAB:
[MENTION=5156330]Garcia98[/MENTION]
[MENTION=5864662]moonbutt74[/MENTION]
[MENTION=4623180]Zaaap72[/MENTION]

I have cleaned a public exchange that should have been handled via PM's :(

I am taking this matter to my entire team for a discussion to get a decision.

If ANYONE has any question or comments please PM me, DO NOT POST IN THE THREAD ;)

Our judgement is forth coming......

Toledo_JAB

Sony/Moto/LG Moderator
[LG G2 Mini] Zaaap72:
HERE you can find our system.img , boot.img and build.prop.

Maybe you can tell me how to integrate a firmware in the kernel.

I can see that the needed touch firmware, atmel/S0A47P1_2_07.fw, got to out/target/product/d620/obj/KERNEL_OBJ/firmware.

But it seams that i doesn't get into the final zImage as touch is not working and in dmesg i can see that it doesn't get loaded.

When i copy the firmware additionally to the /system/lib/firmware of the boot.img the firmware gets loaded and touch works.

Thank you for your help.
[LG G2 Mini] :
Z,

garcia98's tree is set to go for the intergrated build.

but first run mka bootimage after you initialize your build environment.

cd /to/cm11/directory && . build/envsetup.sh && lunch

i am building cm_d620_user. then

mka bootimage

if your build dies the check out garcia98's setup. goto github and in search bar enter d620 .

i'll be up till maybe 3 am let me know how it goes.

m

edit okay sorry half your message got cutoff, this firmware should output a module or built into the zimage itself ?

from your regular kernel build routine get your arch and cross_compile export stuff done the run

make menu config. if you know the setting you are looking for type / which lets you search for specific settings.

---------- Post added at 01:45 AM ---------- Previous post was at 01:16 AM ----------

okay,mfrom what i've learned some stuff just doesn't build into the kernel. if the place of that firmware binary/library

is the same as you stock boot.img then you need to include it in your device tree. meaning something like

device/lge/d620/ramdisk/system/lib/firmware but that should actually be in

vendor/lge/d620/proprietary/lib/firmware . give me a day and i will look into it. i need to know the names of the files.

m
[LG G2 Mini] k2wl:
try this instead of lunch

this will build rom having boot.img with flashable zip.
[LG G2 Mini] :
Z,

where does dt.img go?

and is that the stock boot.im in your folder?

m
[LG G2 Mini] invaderjohn:
i just ordered myself an sdcard

so i can try build and make the kernel work properly.

[MENTION=4623180]Zaaap72[/MENTION]

can you try the kernel zip i made? found here: http://xdaforums.com/showpost.php?p=55037910&postcount=36

il have to wait a couple of days for my sdcard so i can try it myself.
[LG G2 Mini] partyzant_x:
[MENTION=1828795]invaderjohn[/MENTION]

Your zip had wrong structure d620r-test-kernel.zip give /AnyKernel-master/kernel, META-INF, system. I change it to d620r-test-kernel.zip/kernel, META-INF, system but it don't flash. Error update binary.
[LG G2 Mini] invaderjohn:
oh okej. well i used anykernel.zip to make the zip file. if u want you can try and take my .ko modules in the zip and the zImage and make a new one? :) i have to go to work soon and i work alot this week. so il see when i can look it over again

ive made some changes in the zip, maybe u can try that one?

EDIT*

the L90 has working roms and are very similar to our phone?

and the kernel used is an msm8226 configured kernel

https://github.com/k2wl/android_kernel_lge_msm8226

wouldnt that semi work for oours?
[LG G2 Mini] partyzant_x:
Installing '/sdcard/Download/signed_d620r-test-kernel.zip'...

Checking for MD5 file...

Skipping MD5 check: no MD5 file found

I:Zip does not contain SELinux file_contexts file in its root.

I:Legacy property environment initialized. script aborted: mount() expects 4 args, got 3

AnyKernel Updater by Koush.

Extracting System Files...

mount() expects 4 args, got 3

I:Legacy property environment disabled.

E:Error executing updater binary in zip '/sdcard/Download/signed_d620r-test-kernel.zip'

Error flashing zip '/sdcard/Download/signed_d620r-test-kernel.zip'

Updating partition details...
[LG G2 Mini] invaderjohn:
Oh damn i failed haha need to go over the zip when i have more time! And i think my sdcard comes 2 moro. Thx anyway dude
[LG G2 Mini] Toledo_JAB:
[MENTION=5156330]Garcia98[/MENTION]

[MENTION=5864662]moonbutt74[/MENTION]

[MENTION=4623180]Zaaap72[/MENTION]

The XDA RULES require proper permissions when member-1 uses member-2's work inside member-1's development, that is being shared.

The key to your specific issue is there is no development being shared for others to use.

This thread is only being used to track changes made while troubleshooting the build.

That being said, when the ROM is ready for distribution all permissions must be received before providing a download.

The files in question are available publicly on github, and anyone can use them, personally for testing.

The thread is giving credits to all who have contributed to the source.

No member is claiming others work as their own.

To be brief..

There is no working download containing others work.

So no permissions are needed.

I would hope that for the benefit of the device development that everybody can collaborate peacefully.

If ANYONE has any questions or comments please PM me.

Toledo_JAB

Sony/Moto/LG Moderator
[LG G2 Mini] Zaaap72:
I'll test your kernel tomorrow.

But i don't understand why you would need an sdcard to test.

Normally i connect my phone via USB to my build PC and transer my boot.img to the internal memory which is accessed though /sdcard.

Then i use rashr to flash it.

If it fails then i can use my custom recovery to restore the backup of boot.img which is also stored on internal sdcard.
[LG G2 Mini] :
on device tree

[MENTION=3506348]Toledo_JAB[/MENTION]

Understood. By the end of the week I will have a new device tree constructed.

m
[LG G2 Mini] Zaaap72:
The dt.img is a part of our boot.img.

See: mkbootimg.mk

I'm not really sure what it makes/contains, but without or with wrong dt.img our boot.img would not boot and phone will get stuck at fastboot.
[LG G2 Mini] Zaaap72:
Thank you to clarify this.

Good that i never used anything of Garcias work.
[LG G2 Mini] Zaaap72:
DT.img

Here is the output from unpack of boot.img

Supplied image: boot.img

Setting up work folders . . .

Splitting image to "/split_img/" . . .

BOARD_KERNEL_CMDLINE console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 user_
debug=31 msm_rtb.filter=0x37 androidboot.hardware=g2m
BOARD_KERNEL_BASE 00000000
BOARD_NAME
BOARD_PAGE_SIZE 2048
BOARD_KERNEL_OFFSET 00008000
BOARD_RAMDISK_OFFSET 01000000
BOARD_TAGS_OFFSET 01e00000
BOARD_DT_SIZE 202752

Unpacking ramdisk to "/ramdisk/" . . .

Compression used: gzip
8080 blocks

Done!

Here you see the content of our split boot.img

Verzeichnis von D:\Android\Android Image Kitchen\split_img

26.08.2014 20:52 <DIR> .
26.08.2014 20:52 <DIR> ..
26.08.2014 20:52 9 boot.img-base
26.08.2014 20:52 1 boot.img-board
26.08.2014 20:52 113 boot.img-cmdline
26.08.2014 20:52 202.752 boot.img-dtb
26.08.2014 20:52 9 boot.img-kerneloff
26.08.2014 20:52 5 boot.img-pagesize
26.08.2014 20:52 2.599.991 boot.img-ramdisk.cpio.gz
26.08.2014 20:52 5 boot.img-ramdiskcomp
26.08.2014 20:52 9 boot.img-ramdiskoff
26.08.2014 20:52 9 boot.img-tagsoff
26.08.2014 20:52 8.025.424 boot.img-zImage
11 Datei(en), 10.828.327 Bytes
[LG G2 Mini] Zaaap72:
I looked into the update script and the mkbootimg.sh. I didn't test, but i don't think this script can work for us as it doesn't take care of dt.img.

Which recovery did you use for your test?
[LG G2 Mini] partyzant_x:
Latest TWRP.
[LG G2 Mini] invaderjohn:
okej. well since i dont really know how to build me own scripts for our device. but got the zImage and .ko files from building the kernel with g2m_global_com_defconfig, maybe u can try make a working flashable zip? from my files?

i will try to build a kernel from the msm8226_defconfig also and see if that works better.

well since i just have this phone im a bit afraid it will die. since i just have an hour here and there to fix it it would be better for me to have a full backup of my system on an sdcard. and then i can try out other stuff aswell without worrying about it :)

otherwise, how do i backup my kernel/zImage before i try thus i made then without backup my whole system?
[LG G2 Mini] :
Up and Running with new tree

Z, Guys,

i am in the process of fine tuning my dev-tree when it's good i will post.

My question is about the boot.img packing scipt, when i open the output image it seems like

the dt.img is in place but in comparison to the stock image, the modules relocate out of the boot.img

to system.img [don't get excited, have quite some patching to do].

as i don't own the device, would you rather i concentrate on getting system image built through

and leave the kernel/boot.img work to you ?

And again please post your local manifests, i'm not sure if mine is good/correct.

Thank you for reading.

m

[MENTION=4623180]Zaaap72[/MENTION]

edit- boot.img-dtb <----isn't that dt.img ? , please post stock recovery ?
[LG G2 Mini] Zaaap72:
If you have the complete CM source in you build tree try to use

mka bootimage

You can use rashr and make a backup of you current kernel there.

In general, the kernel that starts the normal system is located in the boot.img. You can use TWRP or PhilZ touch to make an advanced backup.

I made a DD backup and hold a copy of my boot.img on my internal sdcard. Had to restore it several times now. I would recommend that you keep a copy there,too and one on you PC.

If the kerenel fails completely and you get to fastboot, you can flash your boot.img and if you get to recovery ADB is active and DD is possible.

And yes, it is a good idea to have a complete backup of your phone. And as last safety we have the KDZ method. So make sure you have your KDZ.
[LG G2 Mini] Zaaap72:
What is the local manifest?

Sorry for this question, it is the first time i try to tweak/build android.

As far is I know I didn't change it.

The only manifest I remember is the one from Quarx that he used to post his LG L90 source.

Yes it is.

I'll post the stock recovery in a few hours. It is very similar to the boot.img.
[LG G2 Mini] :
building

Zaaap,

okay, cool, local manifest can be used for building for unsupported devices without polluting the main cm manifest.

as for progress, mka recoveryimage && mka bootimage build through with my dev-tree, mka libandroid_runtime just went through

with some patching, mka services builds through, mka framework builds through, now running mka otapackage and will probably die at libstagefright or qcom_display-caf.

i prefer to lunch because of the control factor. things are looking up. is this phone expensive ? i'm thinking i might get one.

maybe off ebay . don't rely on that though, i'm poor ya know. :laugh:

just looked on ebay, and yeah no.

m
[LG G2 Mini] invaderjohn:
Yeah thanks got kitchen up and running last night with a working folder and a new zimage build with linaro toolchain. Repack a boot.img with the new zimage and try later today.
[LG G2 Mini] Zaaap72:
Here in germany you can get a new one without contract for less than 200,-- Euro which is a very good price for such a phone. The comprehensive S4 mini is nearly 300,-- Euro.
[LG G2 Mini] invaderjohn:
In Sweden its 2000 kr wich is like kinda the same as 200 euro, i dont know hos much 1 euro is worth now though, but its worth the money, despite the resolution its an awesome phone with som changes in the UI

[MENTION=5864662]moonbutt74[/MENTION]

http://m.pricerunner.co.uk/pli/1-29...g2+mini#search=lg+g2+mini&sort=4&q=lg+g2+mini