[ROM] [STOCK] UnOfficial F600L Stock MM Ported to H901 [Updated: 20160411]

JDBarlow

Senior Member
Aug 27, 2010
613
160
68
White Oak, TX
Official get released this week im told.. so just hang in there...... as for video recording............

Ill see what I can do..... maybe ill build another Unofficial stock MM for ya all.. @aclegg2011 is very busy at this time......
He had to go to the rescue for them G3 peez...... :)

But, well see what we can do..
@Eliminater74 my feelings wouldn't be hurt if you did :) more Rom development is always a plus bro :cowboy:

Sent from my LG-H901 using Tapatalk
 

Eliminater74

Recognized Developer
Jan 25, 2014
3,955
16,511
263
Clearwater
lightningbolt.duckdns.org
POPUP NFO: I decided to stop being lazy and looked at the logcat for the Video recording issue:

Here is the issue:
Code:
04-10 19:44:15.463   503 10056 E QCamera2HWI: [KPI Perf] static void qcamera::QCamera2HardwareInterface::preview_stream_cb_routine(mm_camera_super_buf_t*, qcamera::QCameraStream*, void*) : PROFILE_FIRST_PREVIEW_FRAME
04-10 19:44:15.464   503 10056 E LGCamera2HWI: void qcamera::getCurrentTimeForMeasure(int): device open = 223ms, preview start = 219ms total_duration = 23411ms
04-10 19:44:15.464   503 10056 D LGCamera2HWI: void qcamera::setPreviewPowerHint(int), state = 1
04-10 19:44:15.464   503 10056 E N2PM    : Failed to get ro.factorytest
04-10 19:44:15.464   503 10056 D N2PMSvc : nativeSetPowerModePolicy - 41, enable - 1
04-10 19:44:15.466   503 10056 E QCamera2HWI: int32_t qcamera::QCamera2HardwareInterface::sendPreviewCallback(qcamera::QCameraStream*, qcamera::QCameraGrallocMemory*, uint32_t): Invalid preview format, buffer size in preview callback may be wrong.
04-10 19:44:15.466   559 10059 E mm-camera: iface_util_broadcast_sof_msg_to_modules: E, session_d 3, stream_id 2 sof_cnt 5
04-10 19:44:15.467   559  9944 E mm-camera-isp2: be_stats44_stats_config_validate:623 Invalid BG from 3A h_num = 0, v_num = 0
04-10 19:44:15.467   559  9944 E mm-camera-isp2:
04-10 19:44:15.467   559  9944 E mm-camera-isp2: bhist_stats44_stats_config_validate:363 Invalid BG from 3A h_num = 0, v_num = 0
04-10 19:44:15.467   559  9944 E mm-camera-isp2:
04-10 19:44:15.468   559  9944 E mm-camera-isp2: bg_stats44_trigger_update:388 bg_rgn_width 40 bg_rgn_height 30
04-10 19:44:15.475  3583  3583 I CameraApp: [Time Info][6] Device StartPreview End : Driver Preview Operation 233 ms
04-10 19:44:15.476   503  2135 D CameraClient: sendCommand (pid 3583) (cmd: CAMERA_CMD_LGE_METADATA_ON) 0, 0
04-10 19:44:15.477  3583  3583 D GestureAPI_JNI: Start GestureEngine
04-10 19:44:15.478  3583  3583 D GestureAPI_JNI: Start GestureEngine End
04-10 19:44:15.485  3583  3583 E Camera-JNI: Null byte array!
The key problem is right here:
Code:
QCamera2HWI: int32_t qcamera::QCamera2HardwareInterface::sendPreviewCallback(qcamera::QCameraStream*, qcamera::QCameraGrallocMemory*, uint32_t): Invalid preview format, buffer size in preview callback may be wrong.
That would be partly in build.prop and partly in config....... I will see what I can do and get one more release out before the T-MObile release...............

Ill also remove more unwanted and unneeded apps.
 

supergear

Senior Member
Jul 23, 2009
543
85
58
Denver
Anyone having problems with external SD card? I can't write to it...

Common sense isn't all that common
Have to give it permission (allow) which it should ask when you try. It did when I used ES File Manager

Sent from my LG-H901 using XDA-Developers mobile app

---------- Post added at 12:57 AM ---------- Previous post was at 12:56 AM ----------



I had to go back to Lollipop cause I couldn't buy a game from the play store without it crashing

Sent from my LG-H901 using XDA-Developers mobile app
 
  • Like
Reactions: ZDeuce2

BallCity

Senior Member
Sep 17, 2011
135
66
0
POPUP NFO: I decided to stop being lazy and looked at the logcat for the Video recording issue:

Here is the issue:
Code:
04-10 19:44:15.463   503 10056 E QCamera2HWI: [KPI Perf] static void qcamera::QCamera2HardwareInterface::preview_stream_cb_routine(mm_camera_super_buf_t*, qcamera::QCameraStream*, void*) : PROFILE_FIRST_PREVIEW_FRAME
04-10 19:44:15.464   503 10056 E LGCamera2HWI: void qcamera::getCurrentTimeForMeasure(int): device open = 223ms, preview start = 219ms total_duration = 23411ms
04-10 19:44:15.464   503 10056 D LGCamera2HWI: void qcamera::setPreviewPowerHint(int), state = 1
04-10 19:44:15.464   503 10056 E N2PM    : Failed to get ro.factorytest
04-10 19:44:15.464   503 10056 D N2PMSvc : nativeSetPowerModePolicy - 41, enable - 1
04-10 19:44:15.466   503 10056 E QCamera2HWI: int32_t qcamera::QCamera2HardwareInterface::sendPreviewCallback(qcamera::QCameraStream*, qcamera::QCameraGrallocMemory*, uint32_t): Invalid preview format, buffer size in preview callback may be wrong.
04-10 19:44:15.466   559 10059 E mm-camera: iface_util_broadcast_sof_msg_to_modules: E, session_d 3, stream_id 2 sof_cnt 5
04-10 19:44:15.467   559  9944 E mm-camera-isp2: be_stats44_stats_config_validate:623 Invalid BG from 3A h_num = 0, v_num = 0
04-10 19:44:15.467   559  9944 E mm-camera-isp2:
04-10 19:44:15.467   559  9944 E mm-camera-isp2: bhist_stats44_stats_config_validate:363 Invalid BG from 3A h_num = 0, v_num = 0
04-10 19:44:15.467   559  9944 E mm-camera-isp2:
04-10 19:44:15.468   559  9944 E mm-camera-isp2: bg_stats44_trigger_update:388 bg_rgn_width 40 bg_rgn_height 30
04-10 19:44:15.475  3583  3583 I CameraApp: [Time Info][6] Device StartPreview End : Driver Preview Operation 233 ms
04-10 19:44:15.476   503  2135 D CameraClient: sendCommand (pid 3583) (cmd: CAMERA_CMD_LGE_METADATA_ON) 0, 0
04-10 19:44:15.477  3583  3583 D GestureAPI_JNI: Start GestureEngine
04-10 19:44:15.478  3583  3583 D GestureAPI_JNI: Start GestureEngine End
04-10 19:44:15.485  3583  3583 E Camera-JNI: Null byte array!
The key problem is right here:
Code:
QCamera2HWI: int32_t qcamera::QCamera2HardwareInterface::sendPreviewCallback(qcamera::QCameraStream*, qcamera::QCameraGrallocMemory*, uint32_t): Invalid preview format, buffer size in preview callback may be wrong.
That would be partly in build.prop and partly in config....... I will see what I can do and get one more release out before the T-MObile release...............

Ill also remove more unwanted and unneeded apps.
Awesome, great job, thanks for the hard work! Any ideas how to disable to camera shutter sound? :confused: Turning down the ringer volume doesn't seem to do it on this build.
 

ZDeuce2

Senior Member
Apr 26, 2011
3,126
3,256
263
45
Cincinnati
Have to give it permission (allow) which it should ask when you try. It did when I used ES File Manager

Sent from my LG-H901 using XDA-Developers mobile app

---------- Post added at 12:57 AM ---------- Previous post was at 12:56 AM ----------

Hangout backod

Sent from my LG-H901 using XDA-Developers mobile app
I'll try es, root browser wouldn't allow the change it... Thanks.

Common sense isn't all that common
 

sabrdawg

Senior Member
Jun 23, 2011
1,114
353
113
37
Buffalo
Great ROM! My only issues are that I can't back up my apps using Titanium Backup (it says "backup failed: insufficient storage" even though I have plenty of room), and on md.emu the screen is black.
 

ubergeek77

Senior Member
Oct 30, 2015
233
77
0
Great ROM! My only issues are that I can't back up my apps using Titanium Backup (it says "backup failed: insufficient storage" even though I have plenty of room), and on md.emu the screen is black.
Try toggling the setting in SuperSU labeled "Mount namespace separation."
 

Robert235

Senior Member
Apr 4, 2009
301
64
58
Brooklyn, NY
Great ROM! My only issues are that I can't back up my apps using Titanium Backup (it says "backup failed: insufficient storage" even though I have plenty of room), and on md.emu the screen is black.
I had fix that issue by moving my back ups to my phone storage and by scanning back up folder.

Sent from my LGE V10 using XDA Labs
 

Eliminater74

Recognized Developer
Jan 25, 2014
3,955
16,511
263
Clearwater
lightningbolt.duckdns.org
New update released 20160411:

-=[ Stock 20E_kr Ported H901 ]=-


INFO: Listen Peepz, I went though the stock Korean MM Rom again..... The issue with the Video is this,

Europe uses PAL while America uses NTSC.... Thats the reason your having video isses with recording.. Our device isnt setup for PAL..
I had to look this up.. cause I know all about PAL and NTSC, but I didnt know that it also goes to mobile devices too.. Anyhow,
I cant find a single Config that would fix that issue...........

@aclegg2011 mention that maybe its in the libs.. After comparing libs to stock Verizon MM, They were Dif...........
But again, Verizon is wcnss device while we are BCMD device.. so then I compared to stock G4 T-Mobile Libs..........
Same things. Dif............

So, It would be safe to say, that the PAL might be hardcoded into the libs making it impossible to fix without just changing the libs......
Problem is.. which one........ its not going to just be camera.. why? cause the same issue occurs on video playback on many things......

So its going to be the lib that supports the video playback.. I would have to dig deeper.... I could say just heck with it.. MM is only released anyhow....
But I like to learn... and I wanna know what needs to be fixed for the next time I run into this issue.......

Android N is just around the corner.. The faster I learn how to fix issues like this.. The faster we can port N when its released to Korea or so on........

But, I did do some things. and going to send up a new release: I redid the apn's so no more ROAMING DATA, it now has data and can be turned off or on..
I removed Most if not all Korean Apps.. I added a few extra apps from stock Verizon and framework for it. Only 2 apps that might be usefull.. Dunno.....

I fixed sdcard permissions I hope........ BTW, someone asked about the Calculator, I added one in for ya... You all should know that Koreans Dont need any Calculators..
I know koreans pretty well. my Sister is married to one. Well hes Half Korean.. Anyhow.. I just tested the Calc.. and its a No go.......
I think I forgot to add the framework for that edition. Sorry peepz...............


Enjoy this new release..................... Its uploading now.. Ill add it to OP when its finished................


OOPS: I should have read the dev talk channel before I posted this.. Owell. anyhow its up.....................
I just now found out about the stock kdz update thats out...............
 
Last edited:

supergear

Senior Member
Jul 23, 2009
543
85
58
Denver
I hope you keep working on this as it seems root is gone for the moment from the tmo mm update.

---------- Post added at 09:10 PM ---------- Previous post was at 09:09 PM ----------

Maybe convert this some how to tmo update and still have root
 

Eliminater74

Recognized Developer
Jan 25, 2014
3,955
16,511
263
Clearwater
lightningbolt.duckdns.org
I hope you keep working on this as it seems root is gone for the moment from the tmo mm update.

---------- Post added at 09:10 PM ---------- Previous post was at 09:09 PM ----------

Maybe convert this some how to tmo update and still have root
I need to figure out how they edited them tot files or created them with the root systems.. cause then I could create one and get root back.
 
  • Like
Reactions: Beefvvl

Eliminater74

Recognized Developer
Jan 25, 2014
3,955
16,511
263
Clearwater
lightningbolt.duckdns.org
Team codefire has twrp on g5. It's not complete yet but I wouldn't be surprised if LG did the same thing to ours that they did to the g5. They have a YouTube video showing their progress so far.

Sent from my LG-H901 using XDA-Developers mobile app
Yea, but I didnt buy that calculator cause its just to small for my blood....... I could of.. it was only 20.00 more then what I paid for my V10.....
 
  • Like
Reactions: sabresfan

infin8one

Senior Member
Oct 23, 2013
91
25
0
Oh nooo... Is just me or is the Wifi Tether tile gone from quick settingsin the latest build???

I will have to go back to 5.1 if this is the case sadly:(
 

Amd4life

Senior Member
Dec 30, 2010
1,786
421
103
Is it possible to manually edit the APN type, as trying to edit it through settings causes the Android process to force close. I can turn data on and off-now using the most recent update, but the APN settings are still locked out.
 

infin8one

Senior Member
Oct 23, 2013
91
25
0
Deleted

---------- Post added at 02:10 PM ---------- Previous post was at 02:06 PM ----------

Is it possible to manually edit the APN type, as trying to edit it through settings causes the Android process to force close. I can turn data on and off-now using the most recent update, but the APN settings are still locked out.
Xposed? If so...that's more than likely your problem. Works for me as long as Xposed framework is not installed.

---------- Post added at 02:11 PM ---------- Previous post was at 02:10 PM ----------

Anyone else unable to "enable" Mobile Hotspot. When I flip the switch, I get the toast msg "Activity is not exist".

Judging by the grammar, seems like a left over from the Korean core??? Any ideas?
 
Last edited:
  • Like
Reactions: Amd4life