yashsingh1/xdaforums huggingface dataset:
[G4 Q&A, Help & Troubleshooting] asce1992:
Do you think that with a rom based on cyanogen would be easier?
[G4 Q&A, Help & Troubleshooting] hfmls:
I read somewhere it would give more errors porting. But, I know nothing so... :)
[G4 Q&A, Help & Troubleshooting] ItzShadowz:
Yeah, when I tried to port with a CM based ROM I got way more reject files than expected and so I just gave up. :(
[G4 Q&A, Help & Troubleshooting] Sithhy™:
I don't get you guys... Why don't you wait till Xiaomi releases Marshmallow patchrom so you could build MIUI with no problems? Doing it right now is pointless in my opinion...
[G4 Q&A, Help & Troubleshooting] JustPlayingHard:
I agree with [MENTION=4441194]Stachura5[/MENTION]
[G4 Q&A, Help & Troubleshooting] asce1992:
so [MENTION=6494818]ItzShadowz[/MENTION] port miui on lollipop with patchrom! :D and later on marshmallow
[G4 Q&A, Help & Troubleshooting] ItzShadowz:
Hopefully yeah, will have to use a stock/stock based ROM since I can't find any CM/AOSP based ROMs that have an unpacked system.img in the zip
[G4 Q&A, Help & Troubleshooting] hfmls:
Xiaomi made good work with g3. G4 ain't gonna happen, just because....

I give half year till they try become apple... Already started with locked boot note 3

It's a shame, I love this rom
[G4 Q&A, Help & Troubleshooting] asce1992:
Hello! Have you tried to create a rom miui with the AOSP base created by [MENTION=823251]cile381[/MENTION]? I do not know if it is possible. but I think it would be very fast and very stable :)
[G4 Q&A, Help & Troubleshooting] genesixxbf3:
Why do you still wanna use mm or cm/aosp base just use the stock lp
[G4 Q&A, Help & Troubleshooting] asce1992:
[MENTION=6494818]ItzShadowz[/MENTION] [MENTION=7129940]condor2015[/MENTION] [MENTION=5994385]Kye2000[/MENTION]
[G4 Q&A, Help & Troubleshooting] djbeck811:
I can't wait to see this come to life!
[G4 Q&A, Help & Troubleshooting] ItzShadowz:
Yeah I was planning on using stock dw :D
[G4 Q&A, Help & Troubleshooting] hfmls:
hi there guys, don't let this die pls :)

any1 with any work done/ any ideas on how to?
[G4 Q&A, Help & Troubleshooting] ItzShadowz:
Still trying to port but don't have much time due to work. Don't worry, this won't die :)
[G4 Q&A, Help & Troubleshooting] djees:
Wow miui is my favorite ROM! On lg g4 i can't found any ROM that can feat perfect than miui on my phones before...

If you can done that i will not sell my LG g4 bro! Many thanks for your hard work!
[G4 Q&A, Help & Troubleshooting] hfmls:
Yeah I gave a redmi note 2 and 3 to my parents and I feel jealous, whenever I can I play with it. So fast and pretty miui. And miui with LG camera how great would that be :) I just hope and wish someone could make it, sadly so far everyone is busy. I tried to port but found many errors, but I am a noob , so...
[G4 Q&A, Help & Troubleshooting] Kye2000:
Got back to working on this. There's an aosp ROM in the development thread now which I'll use
[G4 Q&A, Help & Troubleshooting] djees:
Yeah thanks you this thread need to be more popular i think miui on LG is a must of the LG g4 owners would like it!

---------- Post added at 03:40 PM ---------- Previous post was at 03:39 PM ----------

Before i own my HTC m7 and miui was based on cm ROM and work like a charm
[G4 Q&A, Help & Troubleshooting] asce1992:
If you got too many errors try with stock lollipop :) thank you!:)
[G4 Q&A, Help & Troubleshooting] ItzShadowz:
Just wondering, does the ROM have a system.img in the zip? or is it unpacked in the .zip?

I'm using a fully stock ROM to port right now since it has a system.img in the .zip, but if the ROM you are mentioning has a system.img in the .zip / unpacked system.img then I'll use that instead as well.
[G4 Q&A, Help & Troubleshooting] asce1992:
[MENTION=823251]cile381[/MENTION] can you give a reply? :) thanks
[G4 Q&A, Help & Troubleshooting] cile381:
http://www.mediafire.com/download/2jwdsni0wajm1sp/SYSTEM_EXTRACTOR+V3.0(new).zip
[G4 Q&A, Help & Troubleshooting] asce1992:
[MENTION=5994385]Kye2000[/MENTION] [MENTION=6494818]ItzShadowz[/MENTION] news? :)
[G4 Q&A, Help & Troubleshooting] ItzShadowz:
I've done the porting right so far but now I need to edit the boot.img of the base ROM (I'm using stock marshmallow since that's the only ROM I could find that had a system.img in the zip). However, the ROM doesn't have a boot.img from what I can see so far, and if it does I don't know where it could be located, but correct me if I'm wrong. (The ROM I am using as a base I linked a couple of pages back).

EDIT: I can upload what I've done so far if anyone wants to look at it but I advise against flashing it since it will probably put you into a bootloop.
[G4 Q&A, Help & Troubleshooting] Kye2000:
Sad news from me. I am unable to work on this for some time due to no access to a laptop but it shouldn't be too long. Also, the boot.IMG part is the one I wasn't able to do but fixing bugs when the ROM is actually working should be a breeze
[G4 Q&A, Help & Troubleshooting] hfmls:
Hope someone can take it from here :(
[G4 Q&A, Help & Troubleshooting] ItzShadowz:
If I can't find any boot.img in the zip I'm using I may as well just find a stock kernel or something and drag and drop it into the zip and hope that works XD
[G4 Q&A, Help & Troubleshooting] hfmls:
thank you, if you need something to be tested we can help :)
[G4 Q&A, Help & Troubleshooting] Kye2000:
Could you upload what you have so far?
[G4 Q&A, Help & Troubleshooting] ItzShadowz:
Yeah sure, just need to repack the system.img and put it back into the zip. The ROM still doesn't have a boot.img and plus, I don't know if the install script would still work for the ROM but I'll upload it soon. :)
[G4 Q&A, Help & Troubleshooting] hfmls:
Thank you mate. Hope someone will follow :)
[G4 Q&A, Help & Troubleshooting] ItzShadowz:
A bit of bad news, I can unpack system.img files easily but after researching and looking at guides on linux on how to repack one, I still don't have a clue, so ill just send a zip with the rom inside and the unpacked modified system.img that contains the miui stuff

EDIT: https://drive.google.com/file/d/0B1dCuNsnNoHcUWJlQVRoV01rdDA/view?usp=sharing
[G4 Q&A, Help & Troubleshooting] asce1992:
[MENTION=3400932]Taker18[/MENTION]
[G4 Q&A, Help & Troubleshooting] Taker18:
Downloading now...

Regards,

Taker

---------- Post added at 19:06 ---------- Previous post was at 18:58 ----------

i just contact the OP, so i need to wait till he anwer to me ..

Regards,

Taker
[G4 Q&A, Help & Troubleshooting] hfmls:
thank you for your work guys, hope some1 will help you too. :) can't wait for first bootable release ^^
[G4 Q&A, Help & Troubleshooting] Krzysiek635:
I packed a folder system to format IMG. In three hours I'll post a link.

Sorry for my English

EDIT:

I hope that 's it

https://drive.google.com/folderview?id=0BxzEpPH_SfQhTmlLSE1ja3BURDA&usp=sharing
[G4 Q&A, Help & Troubleshooting] hfmls:
thank you mate.
[G4 Q&A, Help & Troubleshooting] ItzShadowz:
Thank you dude! Apologies for my limited knowledge with this stuff :)
[G4 Q&A, Help & Troubleshooting] Krzysiek635:
No problem ;)

I packed files Winrar , The packed file again packed up and changed the name of the zip on img . I hope it will work.

Sorry for my English.
[G4 Q&A, Help & Troubleshooting] genesixxbf3:
If you need to extract something contact me

Envoyé de mon LG-H815 en utilisant Tapatalk
[G4 Q&A, Help & Troubleshooting] asce1992:
[MENTION=1310756]GeneSixx[/MENTION]b3 please give a hand to this great project :)
[G4 Q&A, Help & Troubleshooting] genesixxbf3:
I'm not a great porter of stock rom but if you need help bip me

Envoyé de mon LG-H815 en utilisant Tapatalk
[G4 Q&A, Help & Troubleshooting] hfmls:
We need all help we can get. So, what's next step?
[G4 Q&A, Help & Troubleshooting] hfmls:
sorry to be a pain guys, any news on this?

btw, where can i find those websites where you donate an amount and any other users can donate too and when someone accomplishes your defined goal can collect that money? i would like to start something for this project please.
[G4 Q&A, Help & Troubleshooting] hfmls:
yes please :)
[G4 Q&A, Help & Troubleshooting] ItzShadowz:
I contacted taker on hangouts and he said he downloaded the zip I sent, but he hasn't got back to me so he's probably busy. I'm now in the process of editing a boot.img, I am following the miui port guide thread.
[G4 Q&A, Help & Troubleshooting] ItzShadowz:
Pretty sure I've done the boot.img stuff right. I've used imperium kernel so I'm gonna have to ask the owner of it if I can use it before I upload it here I guess. Everything is zipped up but I doubt it would flash correctly due to the fact that I'm clueless about the updater script and I don't know how to make one. Once this is uploaded I probably need someone to help bugfix and solve any bootloops, due to the fact that I'm not that much of a developer and this is sorta new to me. Thank you everyone though! We couldn't have gotten this far without you! Hopefully soon we can get something that boots!
[G4 Q&A, Help & Troubleshooting] hfmls:
thank you very much fot this. Hope someone can help you out regarding the updater script and bugfixes.

Not that long i guess for 1st bootable ROM :)

Hope some1 gets onboard.
[G4 Q&A, Help & Troubleshooting] ItzShadowz:
With the updater script in the base ROM, it's supposed to extract the stuff from the system.img so I didn't really have to change that. All I've done is add in all the stuff it's told me to do from the MIUI porting guide, plus I've added some stuff to make sure it's the correct device before flashing. As of now I'm too scared to flash it because I'm afraid I might (hard) brick XD

(Does anyone want to volunteer? XD)

EDIT: Flashed it whilst trying not to panic that I'd get a hard brick and I got error: 6, does anyone know what that means? I can't find anything that tells me in detail what it means exactly. However, I think it's something to do with it thinking I'm not using the device it's designed to be flashed with. e.g. it may still think the ROM is for the LG G3 since I used LG G3 MIUI to port.
[G4 Q&A, Help & Troubleshooting] hfmls:
Good to Know you having progress hope someone helps you out

Enviado do meu LG-H815 através de Tapatalk
[G4 Q&A, Help & Troubleshooting] Unn113:
Hello, I switched to Nexus 6 now, and my G4 is just laying on my desk. If You want tester, hit me up.

unn.
[G4 Q&A, Help & Troubleshooting] asce1992:
[MENTION=5776465]genesixxbf3[/MENTION] [MENTION=3400932]Taker18[/MENTION]
[G4 Q&A, Help & Troubleshooting] Renaf2:
Try this system.img on DualBoot if you brick your DualBoot you can restart on your first Rom easy with dualboot utilities.zip ;)

i would like to see MIUI on our G4 :)
[G4 Q&A, Help & Troubleshooting] ItzShadowz:
Yeah I started using dualbootpatcher to do it yesterday. Thanks for clearing up though that flashing it to secondary wouldn't totally mess up my phone as I was a bit sceptical about it. The ROM patches successfully but it still doesn't flash due to error 6. The multiboot log said something about a syntax error at the last line of the script I think, but that's a blank space so it must be another file. Anyway I'll look up some stuff on error 6 and see if I can go back and fix it :) I'm basically learning as I go along so it's going to take some time
[G4 Q&A, Help & Troubleshooting] ItzShadowz:
If someone experienced/even anyone willing to have a go can make an updater-script using this guide I'd really appreciate it: http://xdaforums.com/android/software/guide-build-port-miui-rom-to-device-t3250984

Right now I can't get anything to work. Here's the script as of now and it's a bit of a mess (attached).

EDIT: Here's a bit of thought about what's going on. I'm getting status 6, an error where the directories aren't written properly, and I think this won't flash because my symlinks are still as if there was an unextracted system folder in the ROM, but I don't know if the command to extract the system.img file then makes it into a folder... im gonna try and replace the system.img with the unpacked veraion and see if it changes anything. In the mean time, if anyone can have a go at this from the guide I linked above I'd be really grateful! :D

EDIT 2: I think I need to change:

mount("ext4", "EMMC", "/dev/block/bootdevice/by-name", "/system", "");

to:

mount("ext4", "EMMC", "/dev/block/mmcblk0p47", "/system", "");

So I'll see how that works.

EDIT 3: It didn't work :'(

(All update scripts apparently as a necessity need to format certain partitions before flashing so I'll experiment with different directories and commands for those and see what happens. It may be because there is no directory to wipe certain partitions that's causing status 6 to occur, but I won't know what line of code is causing this issue until I experiment with it more.
[G4 Q&A, Help & Troubleshooting] hfmls:
glad to see some progress :) thank you very much for this, hope someone helps you out.
[G4 Q&A, Help & Troubleshooting] Kye2000:
Happy to see this moving forward
[G4 Q&A, Help & Troubleshooting] hfmls:
hi there, any luck? :| i know eveyr1 is busy and such, but i wish someone could really take a real go on this :(

Anyway, good work.
[G4 Q&A, Help & Troubleshooting] ItzShadowz:
Well I can confirm now that the /system directory is actually /dev/block/bootdevice/by-name/system and not /dev/block/mcblk0p47/system or whatever it was. Now I just gotta change the directories and add lines to wipe the system and data partitions. I've been busy for the past couple of days but I'll be taking a look at it again. And yeah if anyone knows anyone who has made updater-scripts before then try and contact em.
[MENTION=3400932]Taker18[/MENTION] [MENTION=5776465]genesixxbf3[/MENTION] Are any of you able to provide some info as to why this updater-script gives me the status 6 error?

(I've been trying to fix with two versions of the ROM, one with an unpacked system folder and one with the system.img. I'll put some more attention towards the ROM with the system.img file).
[G4 Q&A, Help & Troubleshooting] Renaf2:
Sorry i know just you need all files of Stock Rom : Overlay, Vendor, bin, lib, framework etc .... for directories

dev/block/bootdevice/by-name/system : yes i have in my system folder this path on AOSP Rom

Sorry for my poor help :(

this error statut 6 in Builder i suppose ? i hate try to build Rom :) my brain hate me when i try XD
[G4 Q&A, Help & Troubleshooting] ItzShadowz:
I got an SSD yesterday so I've just spent ages moving files over so I can then format my HDD. I'll get back to working on the port soon.
[G4 Q&A, Help & Troubleshooting] hfmls:
Hi there, any luck?

Enviado do meu LG-H815 através de Tapatalk
[G4 Q&A, Help & Troubleshooting] ItzShadowz:
I'm currently rebuilding my PC into a different case so I haven't been able to do anything yet. :(

I also have mock (practice) exams in a few days so I'll be revising for those. However, I will get back to the updater script as I know the partition directories now.

Everyone's free to download the updater-script I attached a few posts ago and change it to see if they can get it working :)
[G4 Q&A, Help & Troubleshooting] hfmls:
bump bump :)
[G4 Q&A, Help & Troubleshooting] ItzShadowz:
Sorry I should have said but I'm taking a temporary break as I have exams right now, I'll get back to it once they're over and I have more time :)

UPDATE: Right in the middle of exams now, give it a couple of weeks.
[G4 Q&A, Help & Troubleshooting] TiNyDGZz:
Phone Killed after Flash MIUI 7 | LG G 4

Hi, when I flashed my LG G4 with this MIUI version : en.miui.com/download-299.html , i just couldn't reboot this one. I actually can't reboot my device, can't go in recovery mode and the comand

adb reboot bootloader

doesn't work.

Pls help me .... :(:(:(
[G4 Q&A, Help & Troubleshooting] ItzShadowz:
You flashed a ROM that was for the Xiaomi Mi 5 and not for the LG G4. Always make sure to check if the ROM you're flashing is actually meant for your phone or not. Have you tried going into recovery mode?

If you can't do that then you've probably hard bricked your phone and you'll basically have to get your phone replaced.
[G4 Q&A, Help & Troubleshooting] hfmls:
Why would you do that?

Enviado do meu LG-H815 através de Tapatalk
[G4 Q&A, Help & Troubleshooting] TiNyDGZz:
Hi, thanx for your answer !!!

I tried going into recovery mode yes but no answer... The phone don't want to start...

As you said : I've probably hard bricked my phone ...
[G4 Q&A, Help & Troubleshooting] ItzShadowz:
I guess the only thing you can do is send your phone for repair, and since the warranty is void (if your bootloader is unlocked), just play dumb like you don't know what caused your phone to not turn on I guess.

Best of luck!
[G4 Q&A, Help & Troubleshooting] hfmls:
ey guys...still nothing? :)
[G4 Q&A, Help & Troubleshooting] hfmls:
as said i will donate 50€ if someone gets it to boot :)
[G4 Q&A, Help & Troubleshooting] hfmls:
will this help?

http://en.miui.com/thread-9630-1-1.html
[G4 Q&A, Help & Troubleshooting] Hisham alshaeer:
can try port from miui rom of lg g3????

as said i will donate 100 kr becs i am don't work now hahahahaa if someone gets it to boot
[G4 Q&A, Help & Troubleshooting] ItzShadowz:
I heard on an XDA post of how to port it that PatchROM doesn't work for Lollipop onwards (plus the post is from 2013 so it may be outdated). However, I'll try it if I keep getting status 6 on my updater-script :)

(And exams and stuff are nearly over, so I have a bit more spare time now :D )

EDIT: Nevermind, hopes are higher for patchROM now, idk if I can link it here but I saw that patchROM was released along with MIUI 7 and people have been porting it, so hopefully lollipop should work with it.

JavierAlonso has made a thread on how you can fix the reject files with lollipop, and that was what I struggled with when I ported originally using Linux, so if the updater-script stuff doesn't work, I'll start from scratch using patchROM again :)

---------- Post added 8th June 2016 at 12:08 AM ---------- Previous post was 7th June 2016 at 11:09 PM ----------

I also found out that when I patched MIUI so I don't risk bricking my phone, it doesn't add the updater-script file, so I'll manually have to patch it by changing the directories so the system flashes in the multiboot directory, but that's for a different day.

May as well download the new patchROM and start again from scratch, knowing this time that lollipop will be compatible.
[G4 Q&A, Help & Troubleshooting] ItzShadowz:
Okay so I started from scratch and used MIUI 7 lollipop for RedMi Prime 2 (cause it has one of the CPUs the G4 has and same GPU I think) and the same android version cm based ROM for G4 as base. I made sure both ROMs were deodexed.

IMPORTANT THING IS: Build is flashable! But it doesn't get past the LG logo, is anyone able to make a logcat for me as to why it won't boot?

Still not a working build, but it's a step forward!

If someone could get a logcat whilst I started fixing the sensors and other issues that might not be making it boot then that would be really helpful!

Link: https://drive.google.com/file/d/0B1dCuNsnNoHcakx4LVUzNFJXTHc/view?usp=sharing

EDIT: It may be because the RedMi 2 Prime has a MSM8916 chipset and the LG G4 has a MSM8992 chipset so I'll have to port with a device that has the same chipset.
[G4 Q&A, Help & Troubleshooting] ItzShadowz:
Need your help! :D

If you look on most recent post I uploaded a new build, it flashes but doesn't boot.

Are you able to try and look into it to see what's wrong please?

(BTW, I used your build of BlissPop 5.1.1 for LG G4 as a base, am I allowed to continue using it? I can take it down whenever if you don't want me to use it).

Thanks!

---------- Post added at 01:58 AM ---------- Previous post was at 01:42 AM ----------

There's already a port ROM for the LG G3 :)
[G4 Q&A, Help & Troubleshooting] genesixxbf3:
First I can't try

Secondly using bliss is useless

Envoyé de mon Nexus 6 en utilisant Tapatalk
[T-Mobile Samsung Galaxy Note5] geeshiet:
On the 6.0 update?

For me...

1. Faster fingerprint reader/unlock animation

2. New keyboard layout

3. Finally having an option to switch to pin code for alternative option if fingerprint isnt working

4. Adjustments on touchwiz

5. Google now on tap

6. New emojis

7.Faster phone ?? (hopefully)
[T-Mobile Samsung Galaxy Note5] PDXMatt:
Is speed an issue? My Note5 is smooth and quick. *shrug* Now on Tap is actually pretty cool. I don't use a protective lock screen so I don't know about that. I'd like to be able to activate Samsung Pay with a swipe up from the S-View window, but that won't happen.
[T-Mobile Samsung Galaxy Note5] geeshiet:
Speed is definitely not an issue lol, but there are somethings that need a speed improvement.. such as the fingerprint reader. I just hope i dont see any lag. Im assuming you use Find my mobile? if you dont use a protective lock screen. And i dont use samsung pay or NFC payment for that matter, but i understand your struggle haha.

I could root my device, but i choose not to. Reason being is it will possibly lose value once Knox has been tripped.
[T-Mobile Samsung Galaxy Note5] PDXMatt:
I do use Find my Mobile but I also use this https://play.google.com/store/apps/details?id=com.rickclephas.fingersecurity to lock certain apps. It only locks those apps when I am not connected to my WiFi or my cars Bluetooth. Maybe with the new fingerprint API I'll lock the whole phone up.
[T-Mobile Samsung Galaxy Note5] geeshiet:
I also noticed when watching marshmallow beta for s6/s6 edge is that the capacitive buttons dont light up when touching the screen... which is a smart move from samsung. It saves battery and it makes sense. It only lights up when pressing them or when pressing the home button.
[T-Mobile Samsung Galaxy Note5] geeshiet:
Thats looks like a really useful app! And yes, really looking forward to the new fingerprint API. We can finally make purchases with just our fingerprint reader on play store, amazon, ebay, etc... hopefully.
[T-Mobile Samsung Galaxy Note5] driodman98:
I hope they fix the keyboard lag I have with every keyboard.
[T-Mobile Samsung Galaxy Note5] lightninbug:
New emojis?! What are the supposed to look like in 6.0? Also what is Google on tap?
[T-Mobile Samsung Galaxy Note5] ingenious247:
Actually it makes no sense, whatsoever. The entire point of the capacitive buttons lighting up when you touch the screen is so you can see them in the dark in order to press them.. lighting up when you touch them makes zero sense, why would I need them to do THAT?
[T-Mobile Samsung Galaxy Note5] geeshiet:
It only takes about an hour to learn which is which... Its unecessary for the lights to turn on everytime you touch the screen, its just pointless.
[T-Mobile Samsung Galaxy Note5] Jammol:
They didn't light up because it was a Beta and the rooted kernel broke it even more on some devices, but made them work better on other devices. There's also mods you can use to just turn them off if you don't like them. Xposed. Or just go into the settings!!!;)

Also, just because you don't like them being on, doesn't mean that they are pointless. Tests have also been done to see just how much battery life is affected by Capacitive buttons and you can't even tell how much they use.

By the way, a lot of people like myself, work in dark places and have to use our phones. Think about that for a minute.:good::rolleyes:
[T-Mobile Samsung Galaxy Note5] tommason1968:
The only thing I'm looking forward to is a phone that doesn't get an update and have it cause the phone to be worse than before. Right now my stock Note 5 works just fine.
[T-Mobile Samsung Galaxy Note5] john21511:
I'm just looking forward to my ohone being updated at all. Lol
[T-Mobile Samsung Galaxy Note5] pcriz:
Once we get the update I will be looking forward to no more posts about getting the update..
[T-Mobile Samsung Galaxy Note5] papi5120:
Followed by people complaining that the update ruined their phone.
[T-Mobile Samsung Galaxy Note5] geeshiet:
http://www.androidauthority.com/att-galaxy-note-5-marshmallow-beta-671153/
[T-Mobile Samsung Galaxy Note5] bigdreco:
Maybe they could have it only light up when it's dark..
[T-Mobile Samsung Galaxy Note5] Almazick:
Not going to happen because people will start complaining about not getting Android 7 update :)