yashsingh1/xdaforums huggingface dataset:
[AT&T LG G3] skeevydude:
That's why I posted that easy-to-write script earlier.

Outside of the all the Aroma scripting, I need to add in root installation & busybox installation for basic functionality and use -- [MENTION=270378]Cloudyfa[/MENTION] has a pretty good root/busybox script in CloudyG3 that I can easily convert into functions and add them to my script. After those two features are scripted I'm going to switch from features and start on Aroma and try to get out first release.

After that, I want to try and make it an All-In-One G3 tweaking tool and the go to thing people flash after they revert to stock, flash a basic stock rom, or people that don't want to have to deal with flashing multiple zips.

As far as a bloatware remover, because I know people want that...that'll be difficult to properly implement in a universal method between all the variants....every single one has different bloat and would require their own individual scrips and Aroma pages...then we have the differences between bloat from one OS revision to another on the same variant...The best I can do is start a framework that'll only debloat our stock LP, but do it in a way that people can choose between device and stock rom -- that way all I'd need is a list of bloat for device A rom A to be able to add in support for another variant and another rom -- I'd need the help of power users, RC's, and RD's for that.

That said, Titanium Backup and a list of crap that's safe to freeze is my suggestion here because universal bloat removing would either be all-in-one (not everybody wants that) or would have to be it's own little program and done on a per device, per rom basis.

---------- Post added at 09:22 AM ---------- Previous post was at 09:08 AM ----------

I'm of the same mindset as you. IMHO, the biggest reason people here flash the international roms/ports is because they have better installers that have mods and tweaks built in while our native roms don't. That's one of the reasons I'm making that spyware removal and tweak tool -- I just don't see the point in making "yet another stock rom" or even the point in making a stock rom with a tweaked to hell Aroma installer....especially when I have the ability to make a tool that'll do all the customization options those roms can do and do them in a method that's universal for all of us.
[AT&T LG G3] JeffDC:
Two days use only, but the ROM is very quick and smooth on my phone. Better than previous KK. Keeping fingers crossed. So far all things work as supposed to, except the LED notifications. I've tried a number of custom LP rom, and decided a few months back to wait. I think the wait is over.
[AT&T LG G3] joshuadjohnson22:
I went ahead and did it. It may be a little heavy because I have xposed going and light flow but I can do it again with them disabled if needed. let me know.
[AT&T LG G3] akaHardison:
Thanks for your contributing. But I am suffering encryption unsuccessful. I am not able to boot up my phone.

Reset phone is useless. Will go to TWRP and run a script but after rebooting still stuck at there.
[AT&T LG G3] cmulk:
You will need to pull the battery and then boot to TWRP manually: http://www.android.gs/enter-recovery-mode-lg-g3/

Then wipe data and you should get your phone back: but without all your data unfortunately.
[AT&T LG G3] akaHardison:
Never mind.Flash stock recovery and perform a factory reset.Everything works fine.Thank you.:)
[AT&T LG G3] cmulk:
Very kind of you, I appreciate it!
[AT&T LG G3] skeevydude:
If you can, try to disable everything except what's stock. Even better -- If you could make a nanaroid and run the logcats from pure stock, no mods, no debloat, no KK bootstack for bumped roms, nothing but stock LP and root. That's asking a lot, I know, but if we want to find the root of the problem, we need to be as stock as possible without anything else installed that could effect anything.

I have to ask -- Do you have a camera mod installed? I noticed that all the notification light errors are surrounded by camera hal errors, many are from the same process. I can see a tweak that works just fine for one thing having an unwanted reaction on something else.

Unrelated, I'm getting a good kick from CloudyFa's troll -- updating his CloudyG3 rom page with support for us (LP 20k base from 855) and some other versions and changing the download link to "Coming Soon" that's linked to about:blank......it's something I would do just for the lulz of seeing some exited, anxious posts.....but I have work in another hour or two so it doesn't matter because I just don't have the time to a proper rom flash and restore all me stuff with Titanium....a proper rom flash consists of wiping every partition that can be wiped....doing dirty flashes is just plain stupid.
[AT&T LG G3] skeevydude:
I have two possible fixes for that FC 20 second scenario -- first is to simply tweak the sleep 60 + or - 20 or 30 and see if that helps.

The second option is to restore the spyware long enough for the script to remove it so it can properly activate and be deactivated without the FC's and the need for a reboot. That might have to be done with a flashable zip or from recovery -- I'm not sure what the effect of restoring them via an earlier executed init script will do (unless maybe if the restore command is ran very, very early in the init process by hijacking one of the earlier ran qcom init scripts).

Later. Work calls.
[AT&T LG G3] cmulk:
I might play with adjusting the timing (I actually have it set to 20 secs now instead of 60 anyway), but other than that I will just leave it as is. In my test, the FC went away when the script ran without even having to do a reboot so I think that's good enough.

Also, for reference since you are working on your spyware remover tool: I found that you will need to remount /system as rw at the beginning of the removal script to delete the files, and then you can set it back to ro at the end.

mount -o remount,rw /system
[AT&T LG G3] skeevydude:
Thanks, but the mount command is handled in the updater-script in what I'm doing. That completely slipped my mind when I posted the init script since I had been working in an environment where /system is already mounted by the time the script is ran.

Haven't seen your script, but a remount,ro wouldn't hurt at the end if it isn't already there.
[AT&T LG G3] JeffDC:
100

and will do the LED logging this weekend. Curiosity, I have been getting some LED action on messages yesterday and today. And if I leave the phone plugged in, once it is fully charged, a green light. No 'charging' LED.
[AT&T LG G3] joshuadjohnson22:
I don't have a lot of time to tot back to complete stock. But I did make a backup, factory wipe and reflashed the rom with no other zips. I retested everything... I hope that is enough. Let me know if I need to do a complete TOT but I won't be able to do that for a bit.

I did install a apk for the camera I found on another thread maybe that is it? It is a separate application for camera but it looks like they modded the original application.
[AT&T LG G3] JeffDC:
cmulk,

Hey, when you say you have debloated this ROM, is that the same as what part of this OP's list here?

http://xdaforums.com/att-lg-g3/general/guide-how-to-remove-bloatware-att-lg-g3-t2822501
[AT&T LG G3] JeffDC:
cmulk,

So I went through the ROM and further debloated the ROM, from neverends http://xdaforums.com/att-lg-g3/general/guide-how-to-remove-bloatware-att-lg-g3-t2822501.

This is a very rough count:

You had already removed a considerable amount of bloat. Very nice. I have no idea the effect of further removing the leftovers from neverends list, but they (the full directories) have been removed. A rough count from neverends list:

58 files/file sets to remove

- 37 files/sets you had removed from your debloated ROM

_____________________________________

19 ish balance from neverend's list which I removed. (about 180 MB)

Immediately after removing the entire directories from the list, just not the apk and an associated file, before rebooting there were the natural error messages that xxx.xxxx what-ever had stopped functioning. 4 reboots and so far, 30 minutes later, no error messages. The extra reboots were to run Antutu fresh a few times. Antutu, with your clear installed stock debloated ROM, was about 40 ish K, up from 35-36K from my KK ROM. Antutu after further debloating has run about 24-37.5 ish K. Antutu will not necessarily extrapolate to whether the ROM actually runs any smoother... Of the extra 19 or so apps/directories debloated, I only received about 3 error messages after removing, and before rebooting. LG mail and a few others I can't remember. Took about 20 minutes, uninterrupted.
[AT&T LG G3] netomel:
You demand so much from this people you should make your own ROM and see the feedback, not an easy task
[AT&T LG G3] Dene_Bluesman:
[MENTION=6299094]cmulk[/MENTION] When I first got my G2 the first rom I flashed was CleanRom by scrosler, He had the ATT Variant, and spoke of this Carrier IQ. The best and easiest way he was able to remove it was to use a Canadian Variant Base in your case would be D852. I download the ATT KDZ and extracted the system.img pushed it to my G3 and to my surprise it booted. Maybe you can use that as your base for your next project as it should work both ways. Cheers
[AT&T LG G3] mbze430:
I dont know if this is a new feature in Lollipop but I use the PASSWORD lock screen. I noticed now that everytime I unlock the phone it mounts the SD card.

As soon as I put the lockscreen back to swipe, it doesn't do it anymore.

Anyone else experience the same problem?
[AT&T LG G3] JeffDC:
netomel,

Read backwards through the pages. I have been and continue to be highly supportive of the OP, perhaps even the most directly thankful of the posts so far. Whether or not, he's done excellent work for us, and he clearly appears very willing to teach and offer insight for the aid of others... Go ahead, read the previous pages.

That a person uses the OP's ROM, I suspect certainly as it would seem consistent for someone who makes work public would 'seem' to hope, and have others enjoy it, stay with it and make it their own, is a high praise for someone's work. That is how I 'feel' when I adopt a persons publicly given work for use. I have refused to stay with any LP ROM, or use one for but a few hours to test, until now. My adoption of this OP's work is my ultimate, most high praise, compliment and regard of his work (over that of all others I have tried). I have come to rest now with this ROM. You, not knowing me, have little concept of my experience, commitment, or obligation when I put my word or intention to a thing.

My post was to the OP. As you might note from reading back into the posts, the OP and I have been 'conversing' about a few things, and he has been very helpful and instructional. You'll note that I don't have any type of question of you. That is due to the fact that I don't currently have the sense that you have anything affirmative to add or teach, though I sense, in your own 'way' you are trying, which I can applaud. Perhaps that will change. Never the less, don't obscure or confuse my communication with the OP, or someone else, with your lack of historical, contextual understanding of my intent and communication. Mind your own business. If you have anything further that you feel you must say to me, PM me. Anything else will be ignored.

OP, as an aside, as I have shared in previous posts, thank you for the work. I will keep you posted on the LED logcat process/results we spoke of previously, when the weekend arrives.
[AT&T LG G3] kyuubi08:
Anyone else having issues with screen rotation? I have toggled off and on, restarted, and my phone still don't rotate
[AT&T LG G3] cmulk:
[MENTION=4696631]netomel[/MENTION], [MENTION=2102351]JeffDC[/MENTION],

Looks like just a misunderstanding of tone, please don't take offense either way as I am certainly not!
[AT&T LG G3] cmulk:
I am also surprised at that! Is it a lollipop ATT ROM? Please share the source of the kdz when you get a chance, I would like to take a look out of curiosity!
[AT&T LG G3] cmulk:
I kept mostly all of the LG apps because there are some that use them I think (I at least use LG email / calendar for exchange). I am curious though about all those "test" apps, GnssAirTest.apk, etc., have you seen any problems from removing them? Also, does your IR remote still work after removing QuicksetSDK?
[AT&T LG G3] omaralkha99:
hey nice rom, r u going to add custom kernel any time soon, having random battery drops when signal is low
[AT&T LG G3] JeffDC:
That is working fine here. I did a clean install. If I remember correctly, that may have been one of the small issues when I dirty installed the ROM. Images (and other rotations?) would not rotate.
[AT&T LG G3] JeffDC:
I did not suspect you would. My interest was to end it clearly/definitively. Sometimes boundary setting works. That is my hope.
[AT&T LG G3] cmulk:
Not planning on it, I don't really have any experience with kernel development.
[AT&T LG G3] renguer0:
So, everything is working on this ROM? Anybody know is there any stock LP kernel around there?

Thanks!
[AT&T LG G3] JeffDC:
cmulk,

Will be running the logcat for the LED, however, over these few days the LED, other than the 'charging' LED, have slowly come on line and appear to b e functioning per design. Nice.

Following the added debloat Apex has black screened a few times, and stopped functioning. I can not say it is specific to the further debloat (doubtful). I've reinstalled and will watch.

Cmulk

.... it reads as this memory leak is for al LP ROMS? http://xdaforums.com/xposed/modules/xposed-fix-lollipop-memory-leak-t3065296 and would include this AT&T as well?
[AT&T LG G3] JeffDC:
No error messages that I can see directly. After the initial added debloat Apex muxed up a few times and had to be restarted. It has been updated since and last night and today it has been quiet. I've never used the IR remote. I will check it out.

You are spot on. The Quickset folder appears to house the necessary IR remote settings database, so though the IR will start up, you are unable to set it up without the QuickSet directory being in place.
[AT&T LG G3] jamng:
Modem Question

I'm posting cmulk's reply and answer per his request to help others as I had read through all of the pages and wasn't sure of the answer.

My question was that his directions indicated I needed to flash the modem before flashing his ROM and under normal conditions I would make a nandroid in the event of any issues and restore but the modem flashing confused me.

His generous response:

"Good question, but please quote your question and this answer back to the forum thread as it might be useful for others as well:

Nandroid does not backup the modem, and the modem is not tied to any particular ROM. The only case where you might need to downgrade your old modem is if you go back to a KK ROM. The modem from autoprimes is the official ATT modem for Lollipop and should work with any Lollipop ROM whether it is stock-based or AOSP based.

You can manually backup your current modem.img (and restore it later) with dd, but others have already done the work for you. See the thread here for a flashable ATT KK modem, which is what you have currently since you have not yet upgraded to lollipop. Then, if you ever decide you need to go back to kitkat, you can just flash this modem zip and flash your KK ROM (or restore nandroid) and you are good to go."
[AT&T LG G3] JeffDC:
Cmulk and skeevydude,

Here are the logcat files re: the LED. Since the initial post about the LED issues at the beginning of the week, the LED has slowly woken up. When I get a phone call, message or email, the LED does signal, after a few seconds to after the screen auth shuts down. When I plug in the charger the LED does not respond to show a 'charging LED. Maybe it never did? ... kidding it always worked. After sometime of charging, usually after the phone has charged all the way, I think, the green, full on LED will present. I'm usually asleep before then. It is on when I wake up. ha

The boot warn W are large files
[AT&T LG G3] renguer0:
What about LGsmartcover FC when boot the rom? I can't do anything and did a clean install =/
[AT&T LG G3] knight4frat:
That only happens after you flash the xposed lollipop framework zip. It had been covered. Do a clean install of the Rom only. You should be done then.
[AT&T LG G3] renguer0:
Ok, thanks for reply. So no xposed on this rom?
[AT&T LG G3] joshuadjohnson22:
Cool that yours is starting to work. Mine will only works when charging, knock on, rebooting and if i use LG messaging app. Everything else (3rd party sms apps, lg email, missed calls, gmail) do not work. I dont understand...
[AT&T LG G3] GroovyGeek:
Yup :) . His version also plays better with xposed, does not crash tethering menus. I have not found any issues so far, except that it seems to forget my choice of a search provider on every reboot
[AT&T LG G3] JeffDC:
Did you do a clean install? I'm with you, there is something about 5.01 and LED on some phones. I suspect if it is not solved herein, it will be solved by 5.1..

I think I remember having a 'charging' LED anytime I was pad or USB charging... but now I don't actually remember anymore!
[AT&T LG G3] joshuadjohnson22:
Yeah, I'm on a clean install and have tried refreshing and wiping and it has the same issue. Even on cloudy's rom ?
[AT&T LG G3] JeffDC:
With this ROM being stock 5.01, then the Cloudy ROM would have had to have a fix/change within it to not break the tether with Xposed. Anyone know that that was? I am liking this ROM.

---------- Post added at 09:56 PM ---------- Previous post was at 09:52 PM ----------

You can do Xposed, but your need to first use the Xposed helper, which removes the LG Cover and Weather apps, which then resolves the conflict with the current beta release of Xposed. Then install Xposed beta and all is well.
[AT&T LG G3] GroovyGeek:
Cloudy is on the 20K base which nobody knows where he got from. LG may have changed something. Or he may not be using a KK aboot. Don't know.
[AT&T LG G3] JeffDC:
I think someone said that K is the European version is the same as the US version L, or something like that. What I took from it was that, functionally, they are the same, only with some dev mods.
[AT&T LG G3] cmulk:
Just wanted to let you know that I did take a look at these, but I have nothing to offer. I have no idea where to look with the LED issue, and i don't see anything that jumps out from the logs. Sorry I'm not more helpful!
[AT&T LG G3] JeffDC:
Cmulk,

Thank you for the review, never the less. You seem to spend quite a bit of time on behalf of helping folks here and the curtesy is noted.

Regards,

Jeff
[AT&T LG G3] r_3:
I am unable to download anything on this ROM. I get a download error every time. Thoughts?
[AT&T LG G3] r_3:
I did the terminal memory card fix and I am able to download now
[AT&T LG G3] marseillesw:
Terminal memory card fix? Can u plz link it? No matter which browser i try, it gives a link error, like it can't even go to the page.
[AT&T LG G3] r_3:
Having issues with internal sdcard permissions afterwards? Having issues with downloads not saving? You may need to fix your sdcard permissions. In terminal emulator or adb shell enter:

Code:

su

restorecon -FR /data/media/0/
[AT&T LG G3] marseillesw:
I think it's more a browser issue tho...tapatalk web links lead to an error connecting page, whether they be to Android file host or the play store. Nothing works. Thx for the help tho
[AT&T LG G3] JeffDC:
I've tried this command in terminal emulator in phone when booted into system and it appears to do nothing on my system. ?

It responds "loaded file_contents from /file_contents"

.

---------- Post added at 07:50 AM ---------- Previous post was at 07:19 AM ----------

This then is for the internal card, as I understand. What would be the command for the external SD card (external_SD)?
[AT&T LG G3] TemporaryTester:
CloudyG3 2.2 flashes the modem, RPM, and tz partitions to overcome the security error thrown between mismatching a LP ROM and kernel.

It retains KK aboot and laf.
[AT&T LG G3] JeffDC:
I have adb on my Mac, PC and the G3 with terminal emulator. None of them will run restore con, in any variation, as they all advise command not found.
[AT&T LG G3] r_3:
Rooted?
[AT&T LG G3] cmulk:
Do you mind attaching a screenshot of the command not found? I know you've been working on this for a while and it has to be something simple going on, probably just a misunderstanding since we can't be there to see you running the command. I think a screenshot will help
[AT&T LG G3] JeffDC:
Sure. One thing to note is that 'media' is the wrong address for external SD. I believe the address is 'external_SD'. Has not mattered. There are other options for restorecon, but those options have not effect, as the command is not present.
[AT&T LG G3] cmulk:
wolverine9827 is right. It looks like adb is working properly for you so let's stick with that. In your screenshot, you are actually running restorecon on your computer, which is not there and hence the error.

After doing adb devices to see that your phone is connected do

adb shell

to drop to the command shell on your phone. (You will see the prompt change to something@g3). Then do

su

Check your phone because you may get a SuperSu pop-up at this point. Once you do that you will see the prompt change again to include a # sign at the end. This is how you know for sure that you are running as root.

Then do

restorecon

with no arguments. This should at least give you a help/options message for restorecon instead of showing no arguments found.

If you still get "not found" at that point, please send me another screenshot as there must be something very strange going on
[AT&T LG G3] montavious:
Great ROM. With stock kit kat I would lose reception in my basement constantly..Cm11/12 same thing. After running this for past two days I don't think I've had a single time where I had no service. After greenery getting great battery life as well!
[AT&T LG G3] stormthearmada:
Has anyone had any luck fixing MMS issues? I've tried everything to try to get MMS to work and it just won't.
[AT&T LG G3] JeffDC:
Alright. Those ordered commands did bring up a result. I have been entering su at the very beginning and then afterwards, the command.

So I can now see the device with Cloudy ROM 5.0(1). Which is more than before, and after dab shell I can run the restorecon command. Here is what I get:

Last login: Fri Apr 3 13:07:12 on ttys000

Mac-2:~ crchickadee$ adb devices

List of devices attached

LGD8509ccd4f6e	device

Mac-2:~ crchickadee$ restorecon

-bash: restorecon: command not found

Mac-2:~ crchickadee$ su

Password:

sh-3.2# restorecon

sh: restorecon: command not found

sh-3.2# adb shell

shell@g3:/ $ restorecon

usage: restorecon [-DFnrRv] pathname...

1|shell@g3:/ $ restorecon -v -R /data/media/external_SD/

SELinux: Loaded file_contexts from /file_contexts

SELinux: Could not stat /data/media/external_SD/: Permission denied.

shell@g3:/ $

***********

Here is my platform.xml info, which includes the edit to includes/adds rw to external media:

<permission name="android.permission.READ_EXTERNAL_STORAGE" >

<group gid="sdcard_r" />

<group gid="media_rw" />

</permission>

<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >

<group gid="sdcard_r" />

<group gid="sdcard_rw" />

<group gid="media_rw" />

</permission>

<permission name="android.permission.ACCESS_ALL_EXTERNAL_STORAGE" >

<group gid="sdcard_r" />

<group gid="sdcard_rw" />

<group gid="sdcard_all" />

</permission>

<permission name="android.permission.WRITE_MEDIA_STORAGE" >

<group gid="sdcard_rw" />

<group gid="media_rw" />

</permission>

***********

TWRP Manager in settings already shows that I have the "Apply SD card patch' done, so it is grayed out. Also, remembering that I can work with the SD card in recovery, just fine. This issue is only specific to Cloudy and not to Cmulks rom, which is my running ROM.

So I am researching a mount command and read/write command

getting closer