yashsingh1/xdaforums huggingface dataset:
[Nexus 4 General] wulsic:
We deodex framework system/app and private-app but in the build i uploaded i forgot to add the deodexed framework.

For the one's who are making their own build use my boot.img and or updater-script. Or just watch in the init.usb.rc if the name is correct cause i needed to change those to the nexus 4 ones. They may be not all correct but till now it was good for me. ADB works MTP works

Dont ask me why but after flashing my light gapps you could use mine also or Banks depends on your choice But then homebutton works audio buttons works but reversed sadly so we need to fix that but not a big problem and many more things So LG is acting weird and they dont want a Gappless system.

I will upload my new build with the Wifi fix idea from Eugenioxx.

I am now uploading my latest build But with a Gel launcher instead of LG home launcher cause it FC after you launch a app which also fc in the LG home so we need to still solve that. When the rom is extracted from zip the system folder should be around 720 mb so you have 108 mb to play with. I will maybe add later some other LG apps but that will come soon read my story below why i cant get every LG app on this device: I did holded the Camera app from LG since people like these days to take selfies but not me, But it also contains Beauty shot to smoothen your skin to have a nice smooth head lol. Maybe usefull for some girls. Although it isnt so good now cause the censors dont work yet so you have a horizontal selfie which will end up bad.

The rom boots slow. Dont ask me why maybe cause of some problems or cause the roms checks some stuff. I will inspect the kernel and the build later if i have some more free time why the build maybe so slow starting. But still if you guys have any tips To get an full rom which weights around 2gb to a 828 MB partition cause i had to remove alot of LG apps where i am not happy about that they dont fit in the system partition.

I am going to ask if this thread can get moved to Android development forum so it wouldalso get more attention. Uploading at 49% i am also going to edit the OP
[Nexus 4 General] Marsou77:
[MENTION=5403922]wulsic[/MENTION] You are the best :D

Envoyé de mon Nexus 4 en utilisant Tapatalk
[Nexus 4 General] hp420:
Thanks!! I have to work tonight, so I'll check it out tomorrow. My phone has a bad habit of getting a storage partition error after flashing weird stuff like this, so I'll have to back up all my stuff first.
[Nexus 4 General] wulsic:
What kind of a habit cause it doesnt sound good then. Do you have a good recovery then? i use TWRP and never had a storage partition error. It isnt weird atleast not yet :o
[Nexus 4 General] zadrozny91:
Awesome !! So beautiful and smooth. Wifi working, all basic functions are working as well. NFC, rear camera, telephony not working. But LG UI with white colours is so nice after all aosp based dark roms...keep up the good work, and definitely this thread needs to be moved to android development !!!!
[Nexus 4 General] denissxrus:
If you need to remove many LG apps, cose of system partition is < 1GB, you can try to resize system partition. For example for Optimus GT540 you can use this tool - xdaforums.com/showthread.php?t=1171531 . I think we can made something like that. Also, if you'll broke partition table, i think you can recover it with LGNPST

Отправлено с моего Optimus G через Tapatalk
[Nexus 4 General] eugenioxx:
ok guys from what i have done I think tha audio on this rom works not only on headphones but also with the speaker because if I go on audio in setting and edit the ringtone/notification sound the audio of the phone works correctly. I think that the rom force to recognize an headphones plugged in but there isn't (maybe a file in system/bin or in system/lib force this). Tomorrow I'll try to find out why the phone lock the headphones as main speaker.
[Nexus 4 General] Fabry1998:
Wow, you have fixed so many bugs in short time! Waiting for a working RIL release! Full support guys, you're doing an awesome work :)

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 General] wulsic:
Eugenioxx could be something with radio then or it is cause you have the slingversion of mine. I tested yesterdag my ROM with headphones and worked nornallybut that was with efs baseband 10a/b/h

Verstuurd vanaf mijn Nexus 4 met Tapatalk
[Nexus 4 General] eugenioxx:
Well now I'm using your rom (slingversion) and after flashing of the radio "optimus g e970 20j att jb_modem" I got audio in headphone like you to work but no speaker so I decided to go on setting/audio and I find out that speaker works properly but rom detect only a headphone connected so It reproduce the audio of music player not with speaker but in headphone... so there is a file in the rom (maybe) that detect a headphone (that there isn't ) or something like that... (I think also the build.prop maybe force to detect headphone plugged in...). I'll try tomorrow now I go to sleep very tired
[Nexus 4 General] hp420:
My storage partition shrinks to 8GB every single time I install either ffOS or ubuntu, sometimes aosp factory images, and it even happens when I flash ported OEM mods, add-ons, etc. occasionally. I always keep a backup of my rom at least every two weeks, and having had this phone for over a year now, I'm in the habit of backing up everything on my storage partition when I flash things like this, just in case. Google offered me an RMA a while back, but I didn't have the money to have a hold put on my card, and I can't afford to be without a phone for 3 weeks while I wait for an exchange....so I've just dealt with it. ;)

Different build versions of N4 had different quirks with them. Some had great cpus, some didn't....my phone seemed to miss out on every single top-performing component, and got all the ones that had issues lol
[Nexus 4 General] wulsic:
Isaw several things from lgnpst and i dont trust it. Its too risky to do else i will have a Brick which i could throw instead Of a working phone.

Hp420 that sucks then, did you got a 8gb partition first?

Verstuurd vanaf mijn Nexus 4 met Tapatalk
[Nexus 4 General] eugenioxx:
My idea was good I have installed this app from playstore:

https://play.google.com/store/apps/details?id=com.woodslink.android.wiredheadphoneroutingfix&hl=it

I have full working audio speaker (when headphone isn't plugged in ) and headphone (whene it's real plugged in)

I'll see later for sound (now we have a woalkaround so it has not the priority to fix)

I'll look at ril (main important thing that must be fix before)

Here is a short video of the phone with the rom (audio test and internet/wifi testing):

https://www.youtube.com/watch?v=qB36rk88Zt4&feature=youtu.be

EDIT: for lg lover people I have made lg3 laucher work smooth

Here some screenshoots
[Nexus 4 General] yash295:
Wow!! That looks amazing dude.... keep up the good work.... looks really exciting. :good:
[Nexus 4 General] MrComputerRevo:
So does this work with multirom? Don't really want to mess up everything, but would love to test it!
[Nexus 4 General] wulsic:
[MENTION=3691645]MrComputerRevo[/MENTION] not yet the kernel doesnt have kexec sorry, maybe later if the Rom almost fully works then we couldlook into it.

[MENTION=4984695]eugenioxx[/MENTION] good idea temporary i think. So u used my slingrom build and got the sound problem? I will try to find out how to solve it without the need of that app. And the launcher u use is that also original from the original stock ROM or did you took it somewhere? Or was it from an lg launcher port? Maybe we could ask jishnu sur also to help in this project since he got a lot experience with lg roms.

Thanks for posting a video about the working wifi ! I had send an message to Toledo about moving the thread to Android Development or that we could create a devdb project. Or do you want to continue the ROM and that i send you the full working folder with all apks?

Btw how many MB do you have left in the system partition may i ask? Cause i am finding it better that we could save some space to test additional fixes and later include the launcher. My idea was to get somehow app and or private app or something else somewhere else on the /data folder. It sucks that the full ROM is 2,1 GB it would be easier if it was less then 800mb.

I wish you goodluck Further but could you also say the things whar you fixed and how cause it could be usefull for the other devs who may want to create their own lg version. I will also help if i got more time again! School isnt Nice if you are trying to make an project.

I need to stop typing such long posts.

Verstuurd vanaf mijn Nexus 4 met Tapatalk
[Nexus 4 General] T.E.C.H.N.O:
The kexec hack is only needed in the "internal" rom and every secondary ROM doesn't need this patch :) but maybe the ROM is too big. I tried porting my self and said "ROM is to big" or somthing like that and than it starts converting something i dont know and when i reset my phone cause i thought the converting doesnt work because it tooks too long (~20min) everything was fuc*** up and my installed OmniRom was totally crashed (color failures and apps from the port i wanted to install as secondary rom. dont know whats wrong there) but maybe this rom is too big too and i think we need someone to test that ;) if we could install this as secondary rom, it would be more atractive to test :)
[Nexus 4 General] wulsic:
Since i got multirom i am having the idea! What if we could Like make an ROM only for multirom which has a bigger partition size wouldnt be that awesome? Cause i dont want to edit anything to partition layout i dont want to risk my phone or the phones from others. I will test my ROM with multirom after i am done with learning for a test tomorrow :)

Verstuurd vanaf mijn Nexus 4 met Tapatalk
[Nexus 4 General] T.E.C.H.N.O:
If you could get this done, this would be so awesome man :) but take yur time, school first dude ;) good luck for the test tomorrow :highfive:
[Nexus 4 General] eugenioxx:
Yes I have used you slingrom but with framework deodexed with android kitchen, and replaced keybord with anysoftkeyborad.apk. After istallation of the rom I flashed in recovery the baseband of optimus g (20J) and by replacing wpa_supplicant.so I got wifi working. The phone continuosly detect a headphoen connected (infact there is always the notification in status bar of headphone) so the sound works but only with headphone. Using that app I force the sound to be played on speaker or headphone as I preffer.

About the launcher I have used the stock one (mokee only 2mb of space) but I wanted to try to load the stock one( lg home launcher) so I have took the mod made by jishnu sur and installed succesfully I got also working the option in setting to customize the home and the wallpaper of the home. BTW I'll return to stock launcher(mokee) because eats less space. To have the lg home launcher working in system/private-app I have deleted the Lgmms.apk because there is enough space. (only 6mb remaning after the istallation 820/827mb used).

I decided to install olso the banks gapps and by doing this many stuff such as lockscreen, notification in status bar started to work.

(Play store many time fc maybe we have to use the google app of stock rom kitkat and not the banks package...).

Better is to have or repartition of system larger or find a way (multirom maybe) to make a larger partition becouse If we got more space we don't have to delete many apps that maybe cause fc...

I thinks also about modify the command/file of stock update from google. When you launch the flash.bat to return stock it writes the partition of the phone so If we can edit correctly it we can change that value and set larger system partition I think... the proble remaining is if that cound blink our device...I don't know exatly...

BTW I'm uploding a nandroid backup of my rom (very stable because I have no reboot in 2 hours of using uptime...) I'll share the link when finished very slow uploading speed...

The only main problem for now is to make the radio to load correctly...

Main thing is to create a recondary rom with a system partition larger (1gb) and install the rom there so we can load it correctly and have at the same time our stable rom to use

Yea in these day I also have very bad time at school with exams and interview so I'll continue only whene I have time to spend...
[Nexus 4 General] wulsic:
Well School goes also first better to wait some time for the rom then that you need to screw up one year of your life which you could used for something better then repeating what you already had. I also had FC in playstore with my own LightGapps so yeah i could maybe make an flashable zip and see in the LG rom for the Google services etc and i could make an Light version of the Optimus G gapps too so everybody could flash it or include it for every build will be even more better. Maybe we need to add a additional line to build.prop for RIL ahh but i will try to multiboot Thanks for the tip! I could improve the rom faster without the need to switch the whole time. I am also almost done with a cm10 project for the galaxy fame so if i fixed that then i could also invest more time in this project.
[Nexus 4 General] T.E.C.H.N.O:
[MENTION=5403922]wulsic[/MENTION] so i wish you best luck ;)
[Nexus 4 General] blttalas:
what about flashing optimus g partition table with lgpsnt
[Nexus 4 General] T.E.C.H.N.O:
if this could be done without any danger, this would be a great step forward i think :)
[Nexus 4 General] AntiBillOS:
Best way I think its make Rom MultiROM only coz change mtd on phone is bad idea that can make hardbrick.

As you see I write that multiboot works few pages ago. Only problem - long boot, but now we know that is Rom problem, not multiboot.
[Nexus 4 General] wulsic:
I think it is something related to the kernel maybe its checking something. I got my ubuntu up and running again after my display drivers didnt work anymore after a update on 14.4 so now i can multitask more then on windows again:highfive:
[Nexus 4 General] T.E.C.H.N.O:
Thats good to hear :)
[Nexus 4 General] eugenioxx:
Hi guy sorry but this morning I have reinstalled a custom rom and flashed the stock radio(.98 kitkat) and all is working fine but during a test I overwrite some files (libril.so etc...) in system and after that flashed the lg optimus g radio(20J) and now I cannot have signal working...

Here is my thread with all screenshoot of the problem... if anyone know how to solve it thanks in advance...

http://xdaforums.com/nexus-4/help/signal-lost-mobile-network-type-unknown0-t2771536
[Nexus 4 General] T.E.C.H.N.O:
I'm running the ROM from OP atm in multirom and set the modem.img but wifi and bluetooth arent working :crying:

BTW: the homebutton doesnt work O.o

Also its really laggy and theres no lockscreen
[Nexus 4 General] Marsou77:
This ROM needs Gapps to works
[Nexus 4 General] T.E.C.H.N.O:
Why it should? Gapps aren't any nexus 4/LG hardware/software related software so everything basic should work without a prob
[Nexus 4 General] Marsou77:
it is like it is :
[Nexus 4 General] T.E.C.H.N.O:
well, thats my fault dude :D i thought i read the whole thread but i think, i missed this one :eek: but unfortualty i deleted the rom from multiboot IN THIS MOMENT :D anyway, thanks for the tip ;)

But i even dont think, this is going to fix bluetooth and wifi :D
[Nexus 4 General] Marsou77:
have you flashed the lg baseband ? look at the top of the 13th page, all is write here
[Nexus 4 General] T.E.C.H.N.O:
I flashed everything mentioned in OP :)
[Nexus 4 General] denissxrus:
Hey guys! Paulicat just compiled kernel with working rear camera for E970! Try to use it - xdaforums.com/showthread.php?t=2771440

Отправлено с моего Optimus G через Tapatalk
[Nexus 4 General] wulsic:
Thanks! the main difference i see with the kernel provided by paulicat from E970 and the one for the E975 is the size difference maybe it will boot faster now? cause the new one from e970 weights only 9,8mb and the kernel from stock 24MB Thanks for following the Optimus G threads from AT&T i only followed most the E975 forums. I also got now the full lg rom but that from extracting from Img just wont work by me i am getting the whole time the error

E:Mount: Unable to find partition for path '/data'

I didnt had this error before:rolleyes: gotta find out how to fix that ;p maybe doesnt matter at all long time no multiboot anymore i updated it and got this problem to the latest version ;p sucks saw it fixed something with /data i probably just gotta flash everything again But. I created an flashable boot.img zip and i got a flashable zip of the full lg rom. i will test it a bit first(Odexed sorry deodex i will make tomorrow) and i will report then back. I could maybe still upload it today or tomorrow depends on upload speed.

Flashable zip with boot.img thanks to denissxrus for providing the link for the boot.img file.

https://drive.google.com/file/d/0B1u3mnq0nstfUU9RSDBpVzBKdVU/
[Nexus 4 General] Marsou77:
[MENTION=5403922]wulsic[/MENTION] So we can flash G kernel into our Nexus 4 without any problem?

Envoyé de mon Nexus 4 en utilisant Tapatalk
[Nexus 4 General] wulsic:
Sorry for late reaction but the kernel from paulicat you can. the 9mb kernel booted once but then i accidently flashed wrong zip and now i need to reflash my whole extracted system.img from paulicat optimus g rom(Odexed) but yeah it worked.

I also posted the flashable kernel on the at&T optimus g thread including my meta-inf so if they can come further it might help us too:laugh:

For the ones with an old build flash this over so you got working wifi with saving bandwith. If i didnt include this also in the newbuild my bad then and just flash this wififix zip through recovery. And i just found out that my Shortcut of my project (P.N.G) Project nexus G is png lol.

Wififix: just flash it over your optimus g rom. dont forget that you need the AT&T v20J i think modem what i mentioned in the OP so far as i know.

https://drive.google.com/file/d/0B1u3mnq0nstfSXJqYTVZTDhEQ0k/

FOR FULL SYSTEM FLASH FROM 1.3 gb or 1.4 idk USE MULTIROM IT WORKS SO YOU GOT ALL THE LG THINGS. I think iwill continue the rom as a full multirom flashable zip from 1,4gb but i will upload it tomorrow anyway. Too late now to upload it.
[Nexus 4 General] tutangigi:
Great job here! As soon as RIL starts working, i'm gonna port (or atleast try to) the LG G3 UI ;)

BTW, keep track of evey change you make to fix things, because when LG relases a new update to this rom (maybe 4.4.3) you can just re-do the changes without having to start from 0.
[Nexus 4 General] Marsou77:
[MENTION=5403922]wulsic[/MENTION] Since I own a Nexus 4 8Go, I can't use Multirom because I don't have enough space...

Could you later make a lighter version?

Envoyé de mon Nexus 4 en utilisant Tapatalk
[Nexus 4 General] prog19:
Nice idea. People can use a minimal android rom without gapps anything order to use full rom as secondary. Nice workaround
[Nexus 4 General] wulsic:
Well i have a lighter version see some posts ago but it almost doesnt have any apps. I could maybe figure out somethibg for it. Does the kernel works from Paul now or not? Cant test it now battery almost empty and just came from school. [MENTION=4619390]prog19[/MENTION] i always was th in king about symlinking the apps folder tot /data nut somebody said that my lightversion was working on his Phone with multirom so i thought also since the partition has no 828 MB limit that we could maybe use it for a bigger ROM.

[MENTION=3599212]Marsou77[/MENTION] sorry i read that and couldnt see the thread my phone was bugged with browser. App settings went wrong.

The idea to edit the system partition table for this ROM was a complete insane idea also too risky since it could brick your device if you dont know what you are doing thats why i choosed for multirom. The 8 to 16gb is safe i think but read carefully. If i finish eating and learning for today then i will try to continue it.

The weird thing about google keyboard is if i choose Dutch then the word phone gets corrected to iPhone.
[Nexus 4 General] Marsou77:
The conversion from 8 to 16Go is for Optimus G turned into Nexus which report 8Go instead of 16Go... It was too fabulous to be true !
[Nexus 4 General] MrComputerRevo:
Ok, so I installed the ROM in OP on MultiROM. Everything worked fine until I tried to install gapps. Now it just doesn't boot at all. Black screen after the LG logo. Any suggestions? I used banks standard gapps.
[Nexus 4 General] wulsic:
I don't know exactly about why it goes black screen. Maybe uhh Did you flashed the right modem in the OP?

Btw update to all users update Multirom

New fix

4.6.2014

=====================

* Fix installation of bigger (>350MB) ZIPs as secondary ROMs
[Nexus 4 General] MrComputerRevo:
Yup, if I flash just the ROM and the modem it boots just fine, just no WiFi. After I install gapps it doesn't boot. I tried banks and CyanogenMod gapps.
[Nexus 4 General] wulsic:
I also had the same problem that wifi didnt worked and it stayed black screen after reboot with multirom. When i reach my Desktop i can look for the problem

Verstuurd vanaf mijn Nexus 4 met Tapatalk
[Nexus 4 General] hw0603:
Well... I installed all zips in 1st post.

It booted well, but it seems that I cannot turn on the wifi(didn't test for BT)

Can I ask for your help?

Sorry for my bad English;)
[Nexus 4 General] wulsic:
Hw0603 are you also using multirom? If so i also need to find out to get it working. Maybe the radio doesnt work good or something idk. I also got that somethings got flashed to internal system instead of the external

Verstuurd vanaf mijn Nexus 4 met Tapatalk
[Nexus 4 General] MrComputerRevo:
Ok, so I tried to make a full version of the ROM for MultiROM and it doesn't really boot yet, but I was surprised that it even got to the boot screen. I'll try to look for logs now and report here if I get some progress.
[Nexus 4 General] wulsic:
[MENTION=3691645]MrComputerRevo[/MENTION] i could upload my full version odexed one it booted but also had no wifi. Reboot and black screen ;p Android logo dissapeared

I will try my light version again with multirom to see its related to the modem. My full version booted couple of days ago i just coudlnt connect to wifi :/

Verstuurd vanaf mijn Nexus 4 met Tapatalk
[Nexus 4 General] MrComputerRevo:
I can't get the boot logs. Logcat doesn't work unfortunately. Anyone knows a different method?

Well but it did get recognized by my PC as LGE MTP Device so that's something.

I found this in the LG rom folder dontpanic. As we can see it doesn't keep messages after giving control to the multirom rom. So I'm completely stuck here. Unless somebody knows where to look for kernel messages of the multirom rom.

[ 5.917015] multirom: Saving multirom status
[ 5.927788] SysRq : Emergency Remount R/O
[ 5.930871] EXT4-fs (mmcblk0p23): re-mounted. Opts: (null)
[ 5.932000] Emergency Remount complete
[ 6.043125] msm_hsic_host msm_hsic_host: remove, state 1
[ 6.043186] usb usb1: USB disconnect, device number 1
[ 6.043247] usb 1-1: USB disconnect, device number 2
[ 6.044437] msm_hsic_host msm_hsic_host: USB bus 1 deregistered
[ 6.045139] mipi_lgit_lcd_shutdown:panel is already off
[ 6.045231] Starting new kernel
[ 6.045322] KEXEC: MSM Watchdog Exit - Deactivated
[ 6.045444] Bye!
[Nexus 4 General] hw0603:
Thank you for reply

Yeah, I'm using MultiROM too, but I have another serious problem.

Once I reboot the phone, it stuck on black screen after the LG logo.

I don't think this is the problem just of me.

Is this bug only appears in MultiROM too?
[Nexus 4 General] wulsic:
I dont know to be honest. Did you flashed the kernel from paulicat or did you just flashed the zip? It id related to the kernel i think.

I am now going to test something

Verstuurd vanaf mijn Nexus 4 met Tapatalk
[Nexus 4 General] MrComputerRevo:
Ok, this is interesting. I tried to flash the kernel from paulicat and wifi fix as zips. Now my full version gets to the boot screen but bootlooping. The one from OP just gets stuck on black screen. Still haven't found a way to see boot logs, so no idea what's going on.