yashsingh1/xdaforums huggingface dataset:
[AT&T LG G4] Lekerstein:
Hey guys,

So there are some on the H810 G4 that are having trouble updating to AT&T's 10o software after having rooted 10i. Based on some old forums for the G2, we have a hunch that it comes down to a flag in /persist/rct, which is nothing more than a set of 4 Hex keys. I am wondering resetting this key to look like an unrooted phone will get us past the failure during the OTA where it stops due to root suspected (error 0x1123004, around 5% through the OTA).

If you are reading this and happen to be unrooted, would you mind posting in the comments the values in your /persist/rct? Maybe there is a common set of keys that stand for "unrooted".

The file is hidden to non-root people, so getting the file is a little tricky. Basically, follow the steps in Part 1 (aka Step 1) of http://xdaforums.com/g4/general/lg-g4-100-root-success-directives-root-t3180586, but replace Step 9 with the following command, instead of the one it tells you to go get:

Note that all you are doing here is backing up the /persist partition to your sd. Once done, you can mount the .img in Linux and extract /persist/rct. Open with a hex editor and paste the 4 keys below (but first, can someone provide any opinions on if this hex key is unique to our device? Would it be unsecure to post it here?).

If you don't have Linux, I am sure there is an app out there to let you mount the .img in Windows.

Alternatively, the LG G2 also had a loop hole where you could add a file called "RCT_security" to /sdcard with the value "forel.lee" in it. This would somehow tell rctd (the rct daemon) that you were unrooted. I am going to try this but am not holding my breath.

Let me know what you guys think!
[AT&T LG G4] warri:
Remember if you are "unrooted" you actually need to have been NEVER rooted.

If you're looking for the LG G2 info see: More information from LG G2

http://xdaforums.com/showthread.php?t=2703501

More information in the 2nd post of this on rct http://xdaforums.com/showthread.php?p=41136026
[AT&T LG G4] niftium:
FWIW:

1. My rooted rct.cfg also just shows the values aB, as someone else somewhere reported.

2. Simply dropping RCT_security into /sdcard (without removing SuperSU or anything else) didn't work, unsurprisingly.
[AT&T LG G4] warri:
Well its good to know that two rooted devices report the hex value aB (that was me who reported it in the other thread). I think the key is going to be figuring out the hex value, since the other file can read 'Not Rooted' with your serial below.
[AT&T LG G4] Lekerstein:
aB is actually the ASCII interpretation of the hex values. See screenshot below. Mine is the same way.

Also, as mentioned above, the forel.lee loophole didn't work.
[AT&T LG G4] ExTREmE99:
wouldn't you just need to do a factory reset, then this flag would be reset?
[AT&T LG G4] niftium:
I still got the "suspected of rooting" message after I last tried a factory reset.
[AT&T LG G4] warri:
The issue is that this flag/file is on the /persist partition and not effected by factory resets.
[AT&T LG G4] bigjohnman:
I got the warning that I was suspected of tampering with the phone's OS. I got around it by doing a DD of my factory BACKUP.img back onto my phone. I then rebooted, did the OS update and RE-rooted my phone OS using the same methods found in XDA. I am a linux user so I used my new BACKUP_10o.img to create the ROOTED_10o.img. Then just disk dumped it back to my phone. I'm currently working on tweaking the Recovery.img in an attempt to setup a custom recovery.

There is always a way.

---------- Post added at 03:53 PM ---------- Previous post was at 03:50 PM ----------

http://vps.banandana.com/h810.html

Follow the process below, but you will need these images above for the 10o OS version:

http://xdaforums.com/g4/o...ot-lg-t3164765 (MAKE A BACKUP.img BEFORE YOU FLASH ROOTED.img)
[AT&T LG G4] Nowak4G:
The problem is when I flash my backup of unrooted 10I, reboot, and try and take the OTA, it fails no matter what I try. Removed all root apps, xposed and modules and do full unroot via SuperSU. I never froze or disabled any apps. I tried factory reset and didn't help. I even tried to use someone else's backup of 10I thinking mine was in some way tainted with busybox or something.. So I'm guessing there is a flag that gets tripped like the OP is referring to or some other weird thing.
[AT&T LG G4] bigjohnman:
That is strange that it would work for me, but not for you... I never used xposed though. Hmmm
[AT&T LG G4] Nowak4G:
Other people who are effected by this, did you have Xposed framework installed? I even tried flashing the uninstaller zip hoping that would do it.
[AT&T LG G4] bigjohnman:
No, I didn't use any xposed framework... I had never used that on any other previous phones, so I didn't use it on this one. I was playing it safe I guess.

---------- Post added at 06:04 PM ---------- Previous post was at 05:13 PM ----------

OK... I did a LOT of research on this issue. I am not sure if this will work, since I don't have this problem, but here is what you should do.

Put your phone in download mode & Send commands.

Make a backup of your broken image:

dd if=/dev/block/mmcblk0 bs=8192 skip=18432 count=4096 of=/data/media/0/Backup.img

dd of=/data/media/0/persist.img bs=8192 skip=18432 count=4096 if=/dev/block/mmcblk0

Here is the persist.img:

https://drive.google.com/file/d/0B-rtntgEF_kwdkdGV0lTVFQ1UlU/view?ts=56295b70 <<< This should have the correct tags so anyone who installed the xposed framework.

Let me know if works.

If it doesn't... re-disk dump your backup.img instead of the persist.img file.
[AT&T LG G4] Lekerstein:
Dude thanks! Finally a clean /persist image! I'll work on this tonight! I'll also analyze your rct to see if the hex vales are the key to this mess.
[AT&T LG G4] niftium:
Yeah, I'm embarrassed I didn't think of this. I still have my OOTB unrooted 10G image, which should have a virgin /persist dir. I'll try to break that down and see if what I find jives with this image.

Also, I didn't use Xposed on G but I did on I.
[AT&T LG G4] Lekerstein:
Looks good to me. Though, I would change Backup.img to persistbackup.img to avoid any confusion down the road.

The above line is virtually identical to the first; the only difference is the output filename and the order of the tags, so you'd just end up with a Backup.img and a persist.img (both identical to each other) on your sdcard if you run the original two commands. I believe it should be as follows in order to properly flash to your phone (changes are in bold):

dd if=/data/media/0/persist.img bs=8192 seek=18432 count=4096 of=/dev/block/mmcblk0

Someone please confirm the changes, as I am no expert.

Thank you
[AT&T LG G4] bigjohnman:
I must say... That this persist.img is from a 10o OS. This img is so small that I don't think it has the AT&T authentication information in it. Sorry, I didn't have a 10I version, BUT since it is a persistent section of the OS, it may not matter.
[AT&T LG G4] Lekerstein:
The Google Drive file is restricted to where we need to ask you for permission for access. Did you mean to do it that way?
[AT&T LG G4] bigjohnman:
I will post it on other places. Sorry.

---------- Post added at 09:04 PM ---------- Previous post was at 08:53 PM ----------

Http://androidtool.duckdns.org/persist.img

This should be easy for file transfer.

I setup a website to transfer large files to my parents. I like free dns rerouting sites.
[AT&T LG G4] Lekerstein:
Got it, thanks! Would you mind generating the MD5 for the file to make sure nothing corrupted in the upload/download?

By the way, I am thinking it may not be wise to straight-up flash your image, as /persist/rct.cfg contains a number that appears to be unique to each device. My current plan is to replace the /persist/rct file in my own /persist backup, re-package it, and flash that. Now to learn how to re-package the directory as a flashable image...
[AT&T LG G4] Lekerstein:
Ok, so here are the hex values so far in /persist/rct:

Rooted: 61 42 0F 00 ("aB.." when converted to/viewed as ASCII)

Unrooted: 65 42 0F 00 ("eB")

Interesting. Ok now to package it and flash.
[AT&T LG G4] Lekerstein:
No go on bigjohnman's /persist/rct. I noted, though, that your /persist/rct.cfg has tagged you as rooted, so this may not be the cleanest /persist/rct.

I'm going to re-root and work through my partitions to see if I missed something that is continuing to trip rctd
[AT&T LG G4] warri:
I'd advise against straight flashing bigjohbman's image, there is most certainly a serial code in the text file.

Lekerstein, you need to remember to replace both files with "unrooted" versions.

---------- Post added at 09:07 AM ---------- Previous post was at 09:05 AM ----------

We're you coming from 10i or 10g when you started? It might be possible that 10g didn't bother to look at the rct...

---------- Post added at 09:09 AM ---------- Previous post was at 09:07 AM ----------

There most definitely is a flag that get tripped, you can see it in /persist/rct ...it even puts it in plain text for you. (See 1st and 2nd post)

---------- Post added at 09:13 AM ---------- Previous post was at 09:09 AM ----------

Check this response out...I haven't had time to verify but it's possible rctd checks sim serial? http://xdaforums.com/showthread.php?p=63437713
[AT&T LG G4] bigjohnman:
I too will UN-root and repost a Persist_UR.img... This may take me a little bit. I am on my work computer, and I stay busy, but I should get it posted today...

---------- Post added at 10:07 AM ---------- Previous post was at 09:28 AM ----------

MD5 CheckSum for Persist_UR.img (UR=UnRooted)

9aeada3385d2fbb23c755ef1a52dc3bc

http://androidtool.duckdns.org/Persist_UR.img <<< This has got to work now...

I went back to stock for you guys...

Now I must re-root my phone.

I really hope this helps.

Keep in mind that this is 10o software, as I can't downgrade to 10i.

Next we have to work on unlocking the boot loader!!! How do I get the boot loader files? is it in the boot.img that flashify creates when it backs up the boot files? I also have the recovery files, and can post them on my androidtools website quickly if needed.

As soon as we get this working though... I will disable that URL so I am not tracked down by the AT&T police.
[AT&T LG G4] niftium:
Unfortunately, the rooting flag persists across rooting/unrooting actions, so I think only the very first factory /persist/rct will give us what we need. Also, this persist_UR.img is throwing bad sector errors for me when I try to extract it.

I thought I had my store-bought stock 10G image here at work, but I can't find it. Fail.
[AT&T LG G4] Lekerstein:
Yep. While I was rooted previously, I had already edited my rct.cfg to say Not Rooted and keep my serial numbers. I then mounted my /persist image in Linux as su, deleted my /persist/rct and moved his /persist/rct into the mount. Changed permissions to su 0755 on the file and umounted back to image. In the end the phone thought it was my original image.

I'm digging the idea of a sim card check. Though it will get cumbersome to get a new sim card before every OTA.

Perhaps removing the sim and then taking the OTA without a sim card in would have the same effect? If AT&T stores our rooted status on their servers, that would just kill that check.
[AT&T LG G4] bigjohnman:
I have a SIM reader / writer if anyone needs a Sim card to be swapped, or anything.

I got it because I am going to India soon and want to know the difference from their sims and ours.
[AT&T LG G4] ExTREmE99:
ah, gotcha. i've never used xposed on my G4, so i guess that is why i've never had problems unrooting, then updating the new OTA. carry on
[AT&T LG G4] ajent:
I too am stuck on the 10g update. Also had xposed installed, seems to be the common thing for people who cant seem to pass the root checker.

Re-rooted and ran through everything again to make sure I didn't miss anything, still failed after unrooted flash.
[AT&T LG G4] niftium:
I still have a SIM from my GS3 (daily driver prior to the G4), so I'll give it a shot. I was rooted w/ CM and XPosed installed almost from the day I bought it, but who knows, worth a shot.
[AT&T LG G4] ajent:
I pulled the sim out as update was downloading, turned phone back on, download finished but install still failed @ 4%.
[AT&T LG G4] niftium:
Damn. But thank you for saving me a 320MB download on crappy DSL!
[AT&T LG G4] Lekerstein:
I'll try with my wife's active sim tomorrow night. There's gotta be a way! BTW just to keep it going, I did have xposed installed and am on 10i. That does seem to be the consistent theme
[AT&T LG G4] InsanityOnABun:
I never had xposed installed and I got the message consistently until it decided to work for me, so that wouldn't be the unifying factor.
[AT&T LG G4] tjunck:
10o images

If BigJohnMan's image will overwrite my serial #'s what are my options? My G4 came home from ATT yesterday and against all odds, is already at 10o. Is there a more technical procedure to simply root the phone?
[AT&T LG G4] Lekerstein:
See rooting guide here: http://xdaforums.com/showthread.php?t=3180586
[AT&T LG G4] warri:
My comment about serial numbers is was about his /persist img not his system.img
[AT&T LG G4] mu3g:
I tried my roommates sim today after putting build.prop like the way it was, completely removing all root apps, removing Xposed, removing flashfire, unrooting (with SuperSu disabled and full unroot), debloating completely, but i got the usual 4% error and device suspected of rooting. I was very careful in making sure i was completely unrooted and no root apps, Xposed modules were installed...furthermore, made sure i was completely debloated.

Did anyone else have luck with a different sim? also, has anyone found a way to overwrite the persist image with a clean copy which has the root checker tool? Just fyi, i am on 10g
[AT&T LG G4] Lekerstein:
Yeah, I was able to flash a clean persist image. See this post: http://xdaforums.com/showthread.php?p=63448788

However, after trying to take the OTA, I looked at /persist/rct again and the flag had been tripped again.
[AT&T LG G4] ExTREmE99:
after removing everything, did you reflash the stock, unrooted system.img? you need to do this before you can take the OTA. you will not lose your data, but after flashing the stock system.img, all of the at&t apps come back
[AT&T LG G4] mu3g:
Yes Sir, I did flash a stock unrooted 10G system image using LER. Sorry I forgot to mention that. I tried the software update only after flashing the unrooted stock system image.
[AT&T LG G4] thecrunked:
just curios. did you uninstall xposed by just uninstalling the app or did you flash the xposed-uninstaller-xxx.zip first or after uninstalling xposed like a normal app
[AT&T LG G4] mu3g:
I used the uninstaller and flashed it with flashfire...when i opened the xposed alpha app, it came up with no module found.
[AT&T LG G4] faizalotai:
What about roottoolsmounts that located in /data/local.?if it causes updates to failed too.
[AT&T LG G4] Lekerstein:
I noticed that file last night while I was poking around. Not too sure what it does. I also noticed /data/.flashfire was left behind too. However, both of those should be cleared after a factory reset (which I haven't done), but a FR didn't help others. So I am currently trying to figure out what partitions a factory reset actually hits. I think it's only /cache and /data, leaving a few others to see if there are any files left out there.
[AT&T LG G4] ajent:
Thank you all who continue to look. Being stuck on 10g is killing me. I don't even know why I flashed xposed, I think I didn't even flash modules.
[AT&T LG G4] mu3g:
Yeah being stuck on 10G sucks! If someone could re-package rooted stock images that don't destroy the boot stack causing bootloops, even that is better than nothing!
[AT&T LG G4] warri:
Agreed. I've been busy this past week but I'll be able to try some techniques soon.

I'm getting ready for when marshmallow comes out, I'll just brick the phone and tell ATT it was there update and I need a new one.
[AT&T LG G4] faizalotai:
I think who are failing to updates their phone is because of root binaries that is injected in app_process64..

Can someone confirm that

look in system/bin see if you have 2 app_process64

delete that one than rename the original file.

entered download mode>flash stock than try update..

ps:

better make backup before delete app_process64..leave that image in your internal..

so its like you're having 2 images in your internal. root and stock
[AT&T LG G4] mu3g:
Are you saying that there are two apps called app_process64 in system/bin? Do you think I should remove one of the two instances of the app before uninstalling supersu?

EDIT: I found two files, app_process64 and app_process64_original...do you think I should delete one of the two files before unroot?
[AT&T LG G4] mu3g:
I also found this file called lgmdm_root_flag.txt in /data/system which shows aB, however just after rooting and rebooting, my rct shows eB...lol, what a mess!! my rct.cfg still shows modified...blah blah rooted...

---------- Post added at 07:59 PM ---------- Previous post was at 07:11 PM ----------

I'm sure you'll have done some searches around xda and seen LG including RCT, RCTD and others...here's an interesting thread about it...http://xdaforums.com/showthread.php?t=2267909 (check post 2)...also this youtube link (https://www.youtube.com/watch?v=CB1fDR0UakU) has some funny stuff available as well to tweak the rct.cfg file..overall thanks AT&T and LG..:p
[AT&T LG G4] faizalotai:
That was the binary, if you delete that app_process64 and replaced with the original one..after reboot you're no longer have root access even thou supersu still in your system..so that just basically an app.
[AT&T LG G4] warri:
Did you still have both after flashing the unrooted system.img? If the app_process64 is in /system when you flash the unrooted system.img it should be over written
[AT&T LG G4] Lekerstein:
Anything in /system will be overwritten when you flash back the unrooted system image, so the app_process64 file really shouldn't be an issue. It's whatever is left in other partitions that indicate root was once there that is the problem.
[AT&T LG G4] niftium:
I don't have much useful info to add at this point. I went and looked at my /data/system/lgmdm_root_flag.txt and it says aB, as expected. Deleted it, but it came back after rebooting. I'm curious to see what that file shows if I unroot and do a factory reset, but I'm fairly certain it'll say the same thing, so I'm not in a real hurry to wipe my phone.

In the same folder, there's a file called lgmdm_osupgrade_flag.txt with a value of 1. I'm not sure if that's of value/interest or not. The updated pings the ATT servers for the availability of upgraded or updates, so what's the purpose of this file? A check to say whether I should be allowed to update?

A generic search for info on whatever lgmdm is didn't turn up anything (on the forum or on my phone).
[AT&T LG G4] warri:
Has Anyone Tried using LG Bridge?
[AT&T LG G4] niftium:
Bridge has never shown me that an update is available. It can't even decide if I have a regular network connection or not. Seems like crap software, IMO.
[AT&T LG G4] ajent:
It may be time to brick, take to ATT and play dumb.
[AT&T LG G4] warri:
Was thinking the same thing...but I'll wait till M comes out.
[AT&T LG G4] warri:
Guys.... We have luck... TOT Method to go back to stock H810o... See tweet Check out [MENTION=481091]utop[/MENTION]rime's Tweet: https://twitter.com/utoprime/status/665415181154037762?s=09

[MENTION=2684188]autoprime[/MENTION] also links to the loose partitions which has a stock /persist img
[AT&T LG G4] faizalotai:
Nice...:D
[AT&T LG G4] ajent:
Awesome thanks!

For me to make this work I had to use the dll from http://downloads.codefi.re/autoprime/LG/LG_G4/LGFLASH_LG_G4_CODEFIRE.dll

Also, in lg flash tools I had to select Board DL instead of Upgrade DL.

When it passed I had to hold power button down and press "normal boot" on the screen.
[AT&T LG G4] Lekerstein:
Thank you for sharing!!! I'll give this a shot as soon as my work eases up. Very great news!
[AT&T LG G4] niftium:
Does this help us go forward to 10O if we're still stuck on 10I?

Edit: I read it all through at lunch and the answer is "yes."
[AT&T LG G4] Ayorazz:
Humm
[AT&T LG G4] Lekerstein:
To check RCT status

Dial *#546368#*810#

Click SVC Menu

Click LG RCT

Props to the guy who posted and then got his thread locked. Lol
[AT&T LG G4] warri:
I was hoping the enable section was a toggle :(

However, now that we have tot it's not that important anymore
[Nexus 5 Q&A, Help & Troubleshooting] mrprince123:
In Google Messenger or Textra SMS, how do I take a picture with a flash?

Hi all,

I have the latest Chroma installed. the 10-02-2015 build.

I tried on either the Messenger or Textra SMS to take a picture, there is no option for flash.

is this an app issue?

is there any text message app that I can take a picture with flash option?
[Sony Xperia C5 Ultra] thejamesarnold:
Hi to all,

My device could only have this problem but when I enable the Smart Lock in the trusted agents to gain access to the Face Unlock feature of Android Lollipop, the Face Unlock option is not there.

Here is a screenshot of my smart lock list of features:

[IMG="Xperia C5 Ultra Smart Lock"]https://lh3.googleusercontent.com/SVJmyiiRirlAmS7nXj_wlNTDU40SS4Igd9sMoIGbrCHi5D9HJGcRU3QNM8E03frfmb24nsqyIrr9RJZYt74Hq6BBQ81b1PWOHG7PGa2QLpkvJPi6VU8STWQPkJl_8lHupNxh0GNS_vL6mtryduUTRdm4YaQqEW1RK9-dRfHHw2dVkIyRTiuVGXOxrM1-6XP__JkJ1WH5fzmGwp2JNCIA537kDftYKGk4kh-uEcxz8TJvIc471nyY5BNZuDkDuy6teXVEkvwmcQmxsCpKFc7WsXPFmq_EdjOusphNH3CTswMZdwn3bBuC1vtHRxmsXtmQ7NU9_kYYOsJfpjvu4FF2E_mUQV1s55ZRbYodtJNaFur9BH26CvtoMbUn57rRw5LvKjSIOMPJSDsF1D5ERQs_GYQTND5kEpC_ZuqnoG5N1ZIPvaGqt-qg-_tD3HN6HxVX266rU168lIYbjqfAJrY6b-iyjUBj5oe2ABrtsU0NW83op9B5G4U3XIckOT_Bar3yphvsHJ2Ge8HZ0rIO3YkXnoS4vr2v5II9wPchN9n6rtzF=w539-h957-no[/IMG]

Where is the face unlock?

I haven't touched the OS, formatted, or whatever.
[Sony Xperia C5 Ultra] malih16:
Sadly left out or something, I can't seem to find face unlock option in my settings either.

Maybe Marshmallow release will fix this.
[Sony Xperia C5 Ultra] thejamesarnold:
I was thinking it would be a nice option to unlock especially when the selfie camera of this phone is huge and bright.
[Galaxy S III Q&A, Help & Troubleshooting] WanyaNullum:
Hi guys,

My S III seems to be working fine once the battery is charged. I have been using another S III to charge my battery (which is very annoying).

I thought it might be the USB port and am thinking of replacing it. However, there are also other symptoms which I have not been able to discover anywhere else on the internet yet.

First, when pressing the power button on the side, the phone does not boot like it used to, i need to hold the button for longer than usual and then the charging icon appears, before booting to the home screen.

Second, the battery icon in the top right corner always has an exclamation mark in it like it is critical, but the battery will last as normal.

So, all these three things are connected to the battery and charging, but how? Does anyone have any suggestions how to fix? Remember, I can not use the USB port so the phone does not connect to my PC. Thanks!
[Galaxy S III Q&A, Help & Troubleshooting] Primokorn:
Hi,

This thread is being moved to your own dedicated forum, where the experts may be able to help you better.

Good luck!
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] ajikmalik:
Currently I'm in the middle of changing the full housing for my Note N7000. The original colour is White but I wanted to change it to Black. The problem is, the 2nd screen with white layout is sticked with the LCD behind of it.

Is it possible for me to transfer it to the new 2nd screen? I'll provide the picture with it later on.

Any replies are much appreciated.
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] mjrifath:
Here you Go
[JAMin, XDA Neo, S200 General] johnwest345:
Hey guys,

I just bought a used Qtek S200. Everything was working fine for a good month or so. Just recently I noticed that my SD card does not show up. Has anyone had this problem? I have never dropped the phone or anything, this seems to just have happened out of the blue. I've tried a few different cards and none show up.

I am using Windows Mobile 6.