yashsingh1/xdaforums huggingface dataset:
[G4 Q&A, Help & Troubleshooting] gonzo237:
I use greenify, if you swipe up it gives you the option for Google now or hibernate+lock screen, its nice because my fingers are usually right at the home buttom
[G4 Q&A, Help & Troubleshooting] frigidazzi:
+1 super simple. Works from any screen.
[Moto G Q&A, Help & Troubleshooting] jakeh9777:
Is there a free way to unlock Moto G (XT1028) bootloader without paying? Motorola told me that they don't have the drivers to unlock xt1028 bootloader. There have to be an app, program, or a new s-off to unlock it for free. Can anyone help me out with my problem? :(
[Moto G Q&A, Help & Troubleshooting] jakeh9777:
If there is not one, Maybe we can create a team of developers to help create one (an app or a pc program) and may be do more than this one device... Please PM me if any are interestin.
[Galaxy Tab S Q&A, Help & Troubleshooting] EnriqueRP:
I flashed a lolly rom using odin, when odin finished, the tablet restarted and this boots up, it just sits at the Samsung screen and will not proceed, and i can´t into recovery. Anyone can help me?
[Galaxy Tab S Q&A, Help & Troubleshooting] maxal:
Read this http://xdaforums.com/galaxy-tab-s/general/recovery-t3140233 you need to get into to recovery and wipe data/factory reset and cache then reboot and wait for it to boot up, it does take a while.
[Galaxy Tab S Q&A, Help & Troubleshooting] EnriqueRP:
i did that, but i cna´t into recovery, and try several times but dont into recovery
[Galaxy Tab S Q&A, Help & Troubleshooting] maxal:
All I can say is keep trying I can assure you it does work, I have been in the same situation as you and it worked for me.
[Galaxy Tab S Q&A, Help & Troubleshooting] schrodinger56:
This is how I do it. Press the Home Button, and the Volume Up & Volume Down Buttons (To do this press down on the volume rocker in the middle ) & the Power Key all at the same time. When the screen goes blank, still keeping the other buttons pressed, slide your finger that's on the volume rocker to the volume up position. You should then enter the Recovery Screen where you can restore to factory settings and wipe certain partitions.

Good Luck.
[Galaxy S 4 Q&A, Help & Troubleshooting] gabri84sv:
hi guys, I have this problem, the main camera doesn't work. doesn't work with stock rom, doesn't work with cyanogen rom, doesn't work with stock rom with custom kernel...

I also replaced the main camera with another new, the situation has not changed.

if I check the firmware of the camera this is the results:

rear camera(main)

Cam FW Ver: null

Phone FW Ver: ???????????

sorry but I can't post the screenshot, and sorry for my english...

I suppose the problem is the camera fw, can you help me?

thanx a lot
[Galaxy S 4 Q&A, Help & Troubleshooting] Strephon Alkhalikoi:
Unfortunately, the problem I don't believe is in the firmware. Your problem I believe is the motherboard itself. The logic behind this is rather simple.

1. You've installed both a stock ROM and a custom ROM and have seen no difference in performance.

2. You've replaced the camera module and have seen no difference in performance.

You have tried the fix the problem using the software approach, without success. You have also tried the hardware approach, also without success. By a process of elimination the only possibility left is what the camera is connected to: the motherboard.
[Galaxy S 4 Q&A, Help & Troubleshooting] gabri84sv:
Thank you for your answer, so, do you think it Will be useful to change The motherboard?

Thank a lot
[Galaxy S 4 Q&A, Help & Troubleshooting] Strephon Alkhalikoi:
I personally would want electronics that work 100%, so I would change the motherboard. The big issue will be that a new motherboard basically equals a new phone. I would take the phone to Samsung and let them look at it. They may have a solution that doesn't involve a motherboard swap.
[Galaxy S 4 Q&A, Help & Troubleshooting] gabri84sv:
thanks for the advice :good:
[G4 General] l33tlinuxh4x0r:
Hey all I don't have an LG G4 but I have a G3 which just got a security update yesterday (trying to block root) which I rooted. I'm thinking that the two phones are pretty similar so it is worth a shot to try the same method on both. Is anyone willing to try my root script on their G4. Worst case scenario it doesn't work. But it won't brick anything. It is based on the LG one click root tool. If anyone is interested you can check out my post in the Sprint LG G3 forum here on xda. link

Thanks for the help.
[G4 General] painedglass:
I tried, doesnt work. Gets to the part where I have to put it in download mode and nothing happens. Thanks for trying though :good:
[G4 General] l33tlinuxh4x0r:
Did you put your phone in download mode manually? It takes a minute after you enter download mode. Also if you enable daig mode in the dialer ##DIAG# or ##3424# it should automatically put you into download mode when running the script however you may need your SPC/MSL to enable diag mode.
[G4 General] painedglass:
Yeah, exactly as the script told me to. Hold the power button up and plug the usb cable in. Download screen pops up with a progress bar and nothing, all the while the command prompt says waiting (for the download to begin I assume) I left it like that for appx. five minutes so I popped the battery back out. I tried three times and

always the same result. Should I leave it longer?
[G4 General] l33tlinuxh4x0r:
No sounds like you did it correctly. You may have to unplug the device once it enters download mode and plug it back in.

Did you check device manager to make sure that your phone is detected and what com port it is on?

If you see your phone in device manager try opening cmd and navigating to the directory where LG Root Script.bat is and run the following replacing the # with your com port number.

Send_Command.exe \\.\COM#

If it works it should show a # prompt. If that works then we should be able to root it. It is just a matter of playing with what commands we can and cannot run in download mode. When you are done you can type

LEAVE

and your phone will reboot.

As I mentioned earlier I don't have a G4 so things might be a bit different but not that much.
[G4 General] painedglass:
Its listed under portable devices.....not sure how to figure out the port thing though.

---------- Post added at 11:23 AM ---------- Previous post was at 11:12 AM ----------

Ok, my COM ports are 0004 or 0003 how do I enter the text into the command prompt? I copied and pasted the send command and after I put in lets say 0004 it will throw back "special command: Enter, Leave" and it sends me back to c:\ If you can walk me through this final step, we may get this.
[G4 General] l33tlinuxh4x0r:
It should be listed under "Ports (COM & LPT)" If it isn't then your computer isn't detecting your phone correctly hence it getting stuck in download mode and not rooting.

OK just got your updated post. Use COM4 in the command not COM0004

Should look like

Send_Command.exe \\.\COM4

If that works do a ctrl+C to kill the command and run the following.

Send_Command.exe \\.\COM4 < installRoot

You should see about 4 or 5 hashs (#####) and then just wait about a minute or two, it will say a bunch of things and then tell you to reboot.
[G4 General] painedglass:
I also added enter after the COM#0004 then it threw up the "Enter/leave" as well as "USAGE: SEND_COMMAND.EXE [PORT]"
[G4 General] l33tlinuxh4x0r:
get rid of the # and the 0's should look like this

Send_Command.exe \\.\COM4 < installRoot
[G4 General] painedglass:
This is a bit too advanced for me. I'm running windows 10 and I'm spinning my wheels here because there are no ports listed in my device manager. I keep copying and pasting but it does nothing. I'm Not sure what to do now. Maybe someone else with a bit more experience can help.
[G4 General] gavo84:
are we ok to post here think it worked

http://imageshack.com/a/img908/9774/V8jIv2.jpg

http://imageshack.com/a/img537/2502/XYIm5B.jpg
[G4 General] bender_007:
What does root checker say?

Poslano sa mog LG-D802 koristeći Tapatalk
[G4 General] TonyStark R.I.P.:
You now have your own thread here in the LG-G4 General section
[G4 General] Syrop:
looks like lg_root.sh not starting to work

somything wrong with rights?
[G4 General] poeypresents:
What was verdict?? What carrier r u on
[G4 General] GuestK00143:
Yup, write protection is on just like the Note4 and other devices on lollipop.
[G4 General] BACARDILIMON:
The one click method adds viruses and Trojans to ur pc. Good luck

BAD ASS NOTE 4 & LG G4
[G4 General] boynamedstacy:
Oh lord, please let this work. ?

Sent from my G4 whilst wishing for root
[G4 General] tabp0le:
Windows 10 DOES NOT recognize LG devices properly in DL mode. I was just restoring a G2 to stock with LG Flash tool, it wouldn't recognize properly in 10. Went to 8 and worked beautifully. =
[G4 General] TonyStark R.I.P.:
Before you spout off, explain your comments. Show proof of the issue.
[G4 General] misteroh:
Wait what.. Dude install SuperSU and see what happens
[G4 General] royisher:
Tried using your tool. It rebooted my phone, got me into a screen showing me a progress bar, telling me not to disconnect my phone until the process completes. Progress bar didn't go up and CMD showed that the process has finished. Just rebooted my phone and nothing.

Thanks, do you have any ideas?
[G4 General] tabp0le:
No SuperSU binary found :(
[G4 General] jordy787:
Doesnt work on tmobile lg g4
[G4 General] spotmark:
I've been effing around with this all day. I can't get the phone to be seen, when in download mode.
[G4 General] kmcphee:
Good try though guys
[G4 General] S3V3N:
not root :(
[G4 General] tabp0le:
I can get the entire process to complete "successfully". The only problem is it doesn't actually do anything lol
[G4 General] BACARDILIMON:
Well when I get done trying to restore my pc before I have to wipe it all I shall see if any proof is left. The fact that many say it don't work should be enough if you decide you want to read.

BAD ASS NOTE 4 & LG G4
[G4 General] snoz0r:
Just because it's not working does not mean it's a virus, trojan or anything else. It just simply means it's not working. OP never claimed that it was 100% working either. Stop trolling.
[G4 General] tabp0le:
There it isn't!
[G4 General] painedglass:
Anyone want to try a new different SU and see what that does? it could be the SU is bad. I'm just spitballin here. I'd try it but I have Windows 10 installed and I have to find my old copy of Windows 7 and re-install that to get the script to run.
[G4 General] TonyStark R.I.P.:
Thread cleaned. Apologies to the OP. User has stated his thoughts, lets move on:good:
[G4 General] tabp0le:
I doubt that. It's working on the G3 fine.
[G4 General] Tikerz:
What version of Android is rooted on the G3?
[G4 General] spotmark:
All of them. Rather I should say they can all be downgraded, and rooted.
[G4 General] painedglass:
All I'm trying to do is jog some memories and get a dialogue started on what

could

be the issue. It may be something as innocent as an incompatible file.
[G4 General] tabp0le:
Something to do with arm64? G3 is arm32.
[G4 General] Tikerz:
If the G3 root isn't for Android 5.1, then it's highly unlikely it will work for the G4 which is on Android 5.1.
[G4 General] l33tlinuxh4x0r:
Hey guys I just got back home... I will be responding to this thread instead of pm's.... I got a bunch of pm's and it too hard to keep up with them all.

OK So It sounds like the device is mounted ro not rw. lets try some things.

First enter download mode. Then on your computer run replacing 4 with your port

Send_Command.exe \\.\COM4

when presented with the hash type the following commands and press enter after every line.

mount /system
mount /data
mount -o rw,remount /system
mount -o rw,remount /system /system
mount -o rw,remount /
mount -o rw,remount / /
mount -o rw,remount /data
mount -o rw,remount /data /data

then to test to see if the system is RW type

ls -la /data/local/tmp

that will list some files with their permissions. It should look something like:

#ls /data/local/tmp -la
-rw-rw-rw- shell shell 4017098 2015-03-08 07:49 UPDATE-SuperSU-v2.46.zip
-rw-rw-rw- shell shell 1048328 2015-01-18 11:00 busybox
-rw------- root root 511 1969-12-31 19:00 itson_update_log
-rw-rw-rw- shell shell 9393 2015-03-17 00:09 lg_root.sh
#

Run the following and it should change

chmod 777 /data/local/tmp/busybox
chmod 777 /data/local/tmp/lg_root.sh
ls /data/local/tmp -la

This is how it should look now.

#ls /data/local/tmp -la
-rw-rw-rw- shell shell 4017098 2015-03-08 07:49 UPDATE-SuperSU-v2.46.zip
-rwxrwxrwx shell shell 1048328 2015-01-18 11:00 busybox
-rw------- root root 511 1969-12-31 19:00 itson_update_log
-rwxrwxrwx shell shell 9393 2015-03-17 00:09 lg_root.sh
#

If that actually changes then all you need to do is rerun the script that I am attaching to this post. It includes the above fixes and should root your device if we are lucky.

Report back and let me know if it works. :)
[G4 General] l33tlinuxh4x0r:
The latest rom ZVA is rooted and you don't have to downgrade to do it.

The root script is written in such a way that it detects and runs on all(most) hardware.

This method is written to work with any LG phone with Download mode. Looks like we will have to use more commands with the G4 but it is pretty much the same.
[G4 General] cowsquad:
I will try this script once I get home from work.
[G4 General] Eagle1337:
If this works, things will be awesome
[G4 General] l33tlinuxh4x0r:
If it works correctly this is what you should see on your PC.

C:\Users\l33tlinuxh4x0r\Desktop\LG Root Script v1.G4>"LG Root Script.bat"
---------------------------------
LG Root - One click script
Written by avicohh
Updated by l33tlinuxh4x0r
Now with support for ZVA
---------------------------------

Please make sure that USB debugging is enabled, and LG drivers are installed.

Starting adb server..

Waiting for device..

Device detected!

Pushing files..
3615 KB/s (1048328 bytes in 0.283s)
1667 KB/s (9393 bytes in 0.005s)
3880 KB/s (4017098 bytes in 1.010s)

Rebooting..

Looking for LG serial port..

Phone found at COM4!

Rebooting into Download mode..

Waiting for device..

Phone found at COM4!

Rooting phone..

If you don't see the SuperSu installer script runs within about a minute,
then the root failed.

Author : blog.lvu.kr
SPECIAL COMMAND : ENTER, LEAVE

###########ui_print *****************
ui_print SuperSU installer
ui_print *****************
ui_print - Mounting /system, /data and rootfs
ui_print - Extracting files
Archive: /data/local/tmp/UPDATE-SuperSU-v2.46.zip
inflating: META-INF/MANIFEST.MF
inflating: META-INF/CERT.SF
inflating: META-INF/CERT.RSA
inflating: META-INF/com/google/android/update-binary
inflating: META-INF/com/google/android/updater-script
inflating: arm/chattr
inflating: arm/chattr.pie
inflating: arm/libsupol.so
inflating: arm/su
inflating: arm/supolicy
inflating: arm64/libsupol.so
inflating: arm64/su
inflating: arm64/supolicy
inflating: armv7/chattr.pie
inflating: armv7/libsupol.so
inflating: armv7/su
inflating: armv7/supolicy
inflating: common/99SuperSUDaemon
inflating: common/Superuser.apk
inflating: common/install-recovery.sh
inflating: mips/chattr.pie
inflating: mips/libsupol.so
inflating: mips/su
inflating: mips/supolicy
inflating: mips64/libsupol.so
inflating: mips64/su
inflating: mips64/supolicy
inflating: x64/libsupol.so
inflating: x64/su
inflating: x64/supolicy
inflating: x86/chattr
inflating: x86/chattr.pie
inflating: x86/libsupol.so
inflating: x86/su
inflating: x86/supolicy
ui_print - Disabling OTA survival
ui_print - Removing old files
ui_print - Placing files
ui_print - Post-installation script
ui_print - Unmounting /system and /data
ui_print - Done !

Please press Ctrl+C, and then type N and ENTER to reboot.

#^CTerminate batch job (Y/N)? n

Rebooting..

Done!
Press any key to exit..

Then we just hope that the phone actually accepts it. If it doesn't work don't worry I have a few more ideas that we can try.
[G4 General] Syrop:
D:\lg\LG Root Script v1.G4>Send_Command.exe \\.\COM3

Author : blog.lvu.kr

SPECIAL COMMAND : ENTER, LEAVE

#mount /system

#mount /data

#mount -o rw,remount /system

#mount -o rw,remount /system /system

#mount -o rw,remount /

#mount -o rw,remount / /

#mount -o rw,remount /data

#mount -o rw,remount /data /data

#ls -la /data/local/tmp

-rwxr-xr-x shell shell 49492 2015-05-30 19:58 .kingo

-rw-rw-rw- shell shell 4017098 2015-03-08 04:49 UPDATE-SuperSU-v2.46.zip

-rw-rw-rw- shell shell 1048328 2015-01-18 08:00 busybox

-rw-rw-rw- shell shell 9393 2015-03-16 21:09 lg_root.sh

#chmod 777 /data/local/tmp/busybox

#chmod 777 /data/local/tmp/lg_root.sh

#ls /data/local/tmp -la

-rwxr-xr-x shell shell 49492 2015-05-30 19:58 .kingo

-rw-rw-rw- shell shell 4017098 2015-03-08 04:49 UPDATE-SuperSU-v2.46.zip

-rw-rw-rw- shell shell 1048328 2015-01-18 08:00 busybox

-rw-rw-rw- shell shell 9393 2015-03-16 21:09 lg_root.sh

#

nothing changed
[G4 General] tabp0le:
same result as before.
[G4 General] bobloadmire:
i'm at half mast right now.
[G4 General] royisher:
Same here...
[G4 General] l33tlinuxh4x0r:
Is your phone encrypted? If so that is probably the issue. Decrypt your phone and run it again. If not it looks like LG has a new read only locking mechanism and that is going to take a lot more testing to figure out.
[G4 General] gavo84:
root checker is saying sorry! Root access is not properly installed on this device

SuperSU is saying there is no SU binary installed, and SuperSU cannot install it .

ok so resetting phone to will try from scratch...
[G4 General] Tikerz:
This method worked to root my new LG G Pad F 8.0 running Android 5.0.2, but no go on my G4 running 5.1. The exploit was probably patched in 5.1.
[G4 General] l33tlinuxh4x0r:
Maybe. I'm still thinking that we will eventually be able to root it using download mode or fastboot. However without a way to get download mode back I don't want to tell anyone to try fastboot.

If it is patched it is patched in Download mode as download mode doesn't need to OS to function, it is essentially fastboot.
[G4 General] gavo84:
yeah no joy still the same, cant believe we still dont have root, i know LG website but still only for h815 and that voids warrenty :(
[G4 General] l33tlinuxh4x0r:
Somewhere there is a video with someone that got root, but they said that they bricked a phone trying to do it and they aren't releasing it yet. I can't wait to see how it is finally rooted.
[G4 General] gavo84:
oh yes i remember seeing that now.
[G4 General] BrokenWall:
That was [MENTION=2376614]jcase[/MENTION], he got Root, showed proof and posted the video. He bricked his device to the point he has to use his eMMC adapter to flash it. His words are that it was not a very clean method of getting root. Team Codefire doesn't want to release anything until it is clean/stable/reliable/repeatable.
[G4 General] l33tlinuxh4x0r:
Yeah that is the guy! I wonder how he did it. Probably pin shorting or something related to hardware would be my guess.
[G4 General] MicroMod777:
There's probaby a way to root this in download mode as I just did a kdz restore for H811 and it worked with old G2 & G3 restore method. We just need to find the path the LG Restore tool uses for the partitions.
[G4 General] liamR:
Did you successfully flashed a kdz to G4? Which method did you use (link please)?

Edit: found it.
[G4 General] MicroMod777:
I used this method and it worked for G4.

http://xdaforums.com/lg-l90/general/guide-flash-stock-kdz-offline-lg-l90-t2803479
[G4 General] chrisokaly:
"The exploit was probably patched in 5.1."

This is exactly the reason why I previous stated (about a month ago) that the G4 will not be rooted. Shipping with 5.1, as opposed to updating to it, killed any shot
[G4 General] smw6180:
It's already BEEN rooted. Just not in a format that is usable by 'the masses' at this point is my understanding.
[G4 General] painedglass:
Root has been achieved already as demonstrated by jcase, unlocking and packaging the exploit up so that its safe to use is what is being worked on last I checked, which is why the bounty will most likely go to jcase and those helping him, and it will be money well spent IMO.
[G4 General] l33tlinuxh4x0r:
I really don't care about the bounty although it would have been nice! I just wanted to help out. If it had worked then people would have had root a bit sooner.
[G4 General] larsdennert:
I'm guessing [MENTION=2376614]jcase[/MENTION] corrupted the bootloader and flashed a split system partition in Qualcomm emergency mode to get root. It can be a lengthy and hazardous process on Motorola phones.
[G4 General] chrisokaly:
the bounty most likely will NOT be going to jcase as he's already stated he has no interest in the bounty, nor does he have any plans for a public release. he's a little butthurt over the greedy/needy xda community right now, and the best you'll get is he's thinking of charging people to root the phone.
[G4 General] painedglass:
You've not been the problem, just those who say it cant be done for one reason or another, basically not following the thread. You're trying to at least get us root.
[G4 General] jcase:
Your wrong
[G4 General] jcase:
No interest in the bounty at this time
[G4 General] jcase:
It's been rooted for some time
[G4 General] chrisokaly:
hmm, im skeptical
[G4 General] jcase:
Be so

https://www.youtube.com/watch?v=sFZyK5oRZrs&app=desktop
[G4 General] l33tlinuxh4x0r:
It is worth a try but I'm willing to bet that they are all patched or that they wont even try when they see a different model number.
[G4 General] daddymikey1975:
That sucks, and you're probably right.
[G4 General] gavo84:
well at least where talking about root and trying things now it just seems like nothing has happend with the g4 root wise or at least no one is saying out for weeks,,
[G4 General] hendusoone:
[MENTION=673006]l33tlinuxh4x0r[/MENTION] - This looks pretty similar to what we were trying in this thread: http://xdaforums.com/g4/general/g4-root-testing-t3127190

The problem we discovered is that in download mode, /system can not be mounted as writable.
[G4 General] l33tlinuxh4x0r:
Maybe we need to wait for the first few tot or kdz files. There must be some sort of key to allow writing to system otherwise LG wouldn't be able to do it and the tot/kdz upgrade/downgrade method wouldn't work.
[G4 General] daddymikey1975:
Edit : double post
[G4 General] jcase:
No, not hardware attack, software attack.

Brick was due to a typo
[G4 General] daddymikey1975:
There's a kdz file for the 815 I think in the development section
[G4 General] TonyStark R.I.P.:
OK it's simple in here. Either you're here to help and try

OR you have no reason to post. Last warning, as trolls will now be formaly warned from this point forward.

Thanks and have a good day:good:
[G4 General] MicroMod777:
Well previous method was blocked on 5.1, but I still think there's a way somehow using download mode due to the fact (Personally restored using kdz on H811) that LG's Flash tool can restore a kdz that way. Maybe XDA dev quangnhut123 who modded LG's tool here can help us:

http://xdaforums.com/showthread.php?t=2797190
[G4 General] daddymikey1975:
Without starting a flame war, and because I'm very curious, would you be willing to disclose if the attack was in download mode or fastboot? If not, I understand. Thanks for what you're doing behind the scenes. :)
[G4 General] l33tlinuxh4x0r:
I remember back in the days when I used HTC all of the root methods/bootloader unlocks were fastboot methods. I would like to try it but to access fastboot you have to delete download mode and there is currently no way to backup download mode so we wouldn't be able to restore it without a kdz or tot. Not that that is a huge problem if you are rooted and have a custom recovery but it is always nice to be able to return to stock if you need to.
[G4 General] jcase:
App based
[G4 General] larsdennert:
Lol. Well seemed plausible since you said you wiped /corrupted the partitions on the emmc and couldn't reformat again on the first one. I'm new to lg phones. Just figured the Qualcomm emergency bl would be a good attack vector like on the moto phones. Problem is it takes many hours to flash a differential image and about 16 hours for a whole partition. Not very user friendly either.