Help Rooting D805 4.4.2 - G2 Q&A, Help & Troubleshooting

Im all out of options, I have no idea what else to do. Here is what I've tried:
1. Used the ioroot but it shows device not found right after it reboots into recovery mode but no error shows up .
2.Tried an older version of ioroot but this came up:
Mounting system RW and pushing SU, then remounting system RO again
mount: Operation not permitted
failed to copy 'su' to '/system/xbin/su': Read-only file system
Unable to open /system/xbin/su: No such file or directory
Unable to open /system/xbin/su: No such file or directory
mount: Operation not permitted
3. Tried TowelRoot but shows that my device is not supported.
I have no idea what else should I do now :/ Any help is appreciated.
PS: I cant use the newer version of ioroot now, it just shut down by itself when I press any key to start it.
EDIT: Ok I had to manually use CMD to install it.
/thread

Related

Replace 'hosts' file on Desire

Apologies if this has been discussed before, I have been researching this for a few days now and have tried every single method that has been advised but was unable to replace the hosts file from my Desire with a custom one. Seems the methods used for the Hero and other Android phones do not work on the Desire. Has anyone managed to replace the default 'hosts' file with a custom one?
My Desire IS rooted. I have tried the adb push method after deleting original file and remounting, I always get an error, something 'cannot allocate space' or similar. I have also tried using Root Explorer, again it says the file is too big. If I make the hosts file smaller by removing some data from it, it copies it, then the phone restarts itself and then when i check, the old hosts file is back (the original hosts file only has one entry for local host 127.0.0.1). I also tried editing the hosts file on the device using Root Explorer, I save, then the phone restarts and all the changes are lost. I seem to have tried all the possibilities and had no joy.
And before you ask, yes, I tried installing the AdFree app from the market, it doesn't seem to do anything, and sometimes it does restart my phone as well.
Any advice how to sort this out would be much appreciated.
are you doing all this in recovery mode?
Hello,
i have created a patched Adfree app for Desire
Adree now loads the hosts-file to
/sdcard/etc/hosts
i have removed /system/etc/hosts
and symlinked to /sdcard/etc/hosts
after the first start klick on "revert" and then on "Update & Install Hosts"
after that you can edit the Hosts file in /sdcard/etc/hosts and it will be used by android system
all files attached
(start in recovery using recovery script,
after that run the install script - STEP1 inside,
reboot into System
run install Script - STEP2)
please tell me if it wont work for you
kingchris said:
Hello,
i have created a patched Adfree app for Desire
Adree now loads the hosts-file to
/sdcard/etc/hosts
i have removed /system/etc/hosts
and symlinked to /sdcard/etc/hosts
after the first start klick on "revert" and then on "Update & Install Hosts"
after that you can edit the Hosts file in /sdcard/etc/hosts and it will be used by android system
all files attached
(start in recovery using recovery script, after that run the install script inside)
please tell me if it wont work for you
Click to expand...
Click to collapse
NICE
But i have some bug: get java.io.EOFExecepion error when i try to update.
ect/hosts folder on sd, installed apk by rootexplorer
where is the problem? I have just pushed my custom hosts file to /system/etc in recovery and it works without any problems.
Just mount /system in the root recovery and push it...
my hosts is from here: http://forum.xda-developers.com/showthread.php?t=664532
Sent from my HTC Desire using Tapatalk
DocRambone said:
NICE
But i have some bug: get java.io.EOFExecepion error when i try to update.
ect/hosts folder on sd, installed apk by rootexplorer
Click to expand...
Click to collapse
i had this error 2 times,
after pressing "revert" the error is gone
--edit--
seems to be a random error.
but after "revert" it works
@ aslocum
the problem is, that you cant update the file if the system is running. but if u symlink it, it is possible
How many times do you update the hosts file? The hosts from the thread I linked is really good and optimized. better the the adfree one.i do not need to update it till we get full write access...
Sent from my HTC Desire using Tapatalk
you are right, it is not necessary to update the hosts-file all the time,
but i like it to add / replace the file even when im not near to a PC.
i thought it is a solution, and i want to share it with all the others.
No offense to you sometimes im also in the mood just to make something work and others wont understand why
Most times its also fun to make things work
Sent from my HTC Desire using Tapatalk
kingchris said:
Hello,
i have created a patched Adfree app for Desire
Adree now loads the hosts-file to
/sdcard/etc/hosts
i have removed /system/etc/hosts
and symlinked to /sdcard/etc/hosts
after the first start klick on "revert" and then on "Update & Install Hosts"
after that you can edit the Hosts file in /sdcard/etc/hosts and it will be used by android system
all files attached
(start in recovery using recovery script,
after that run the install script - STEP1 inside,
reboot into System
run install Script - STEP2)
please tell me if it wont work for you
Click to expand...
Click to collapse
Hey kingchris,
Thanks for your efforts in creating the patched version. I have installed your apk, put the hosts file on the sdcard in /etc folder. Ran the app, clicked revert, it said Success, then Download and install Hosts, it went ok, now it says 'No need to update, your system already has the latest version. I click ok, but it doesn't seem to block any ads. Not sure what to do. Does the app have to be running in the background to work?
Trying to run the install script I got the following:
C:\adfreepatched>install-adfree-windows-step1.bat
C:\adfreepatched>adb-windows.exe shell mount /system
- exec '/system/bin/sh' failed: No such file or directory (2) -
C:\adfreepatched>adb-windows.exe shell mount /sdcard
- exec '/system/bin/sh' failed: No such file or directory (2) -
C:\adfreepatched>adb-windows.exe shell mkdir /sdcard/etc
- exec '/system/bin/sh' failed: No such file or directory (2) -
C:\adfreepatched>adb-windows.exe shell cp /system/etc/hosts /sdcard/etc/hosts
- exec '/system/bin/sh' failed: No such file or directory (2) -
C:\adfreepatched>adb-windows.exe shell rm -r /system/etc/hosts
- exec '/system/bin/sh' failed: No such file or directory (2) -
C:\adfreepatched>adb-windows.exe shell ln -s /sdcard/etc/hosts /system/etc/hosts
- exec '/system/bin/sh' failed: No such file or directory (2) -
C:\adfreepatched>install-adfree-windows-step2.bat
Sorry for being such an ignorant
i have created a new version of the fiel with a step1 and step2 batch
boot into recovery.
run recovery-windows.bat
run install-adfree-windows-step1.bat
reboot into your normal system
install-adfree-windows-step2.bat
then start adfree
if you get the Error Message try it again.
i think this is not an error created by the modification,
this is a problem on checking and downloading the hosts file
i made an error in the first script
in the script i wrote adb mount but it has to be adb shell mount
Uninstalled the program, deleted the /etc/hosts from my sdcard and started all over. If i boot into recovery mode and I get to the green recovery screen, I can no longer type any commands from the terminal window. If I reboot into Android, I run the two install commands and here are the results:
C:\adfreepatched2>install-adfree-windows-step1.bat
C:\adfreepatched2>adb-windows.exe shell mount /system
mount: can't read /etc/fstab: No such file or directory
C:\adfreepatched2>adb-windows.exe shell mount /sdcard
mount: can't read /etc/fstab: No such file or directory
C:\adfreepatched2>adb-windows.exe shell mkdir /sdcard/etc
C:\adfreepatched2>adb-windows.exe shell cp /system/etc/hosts /sdcard/etc/hosts
C:\adfreepatched2>adb-windows.exe shell rm -r /system/etc/hosts
rm: can't remove '/system/etc/hosts': Directory not empty
C:\adfreepatched2>adb-windows.exe shell ln -s /sdcard/etc/hosts /system/etc/host
s
ln: /system/etc/hosts: File exists
C:\adfreepatched2>install-adfree-windows-step2.bat
C:\adfreepatched2>adb-windows.exe install signed-Adfree_patched.apk
812 KB/s (39004 bytes in 0.046s)
pkg: /data/local/tmp/signed-Adfree_patched.apk
Success
The program is installed on my phone, it says Update found, i press ok, then click on Revert, all it does is it restarts my phone. Here, I went and replaced the 1KB hosts file from /sdcard/etc/ with the one in your folder, then when I clicked Revert, it said Success! Your hosts file has been restored. I then clicked Download & install hosts, and it said Success! your Android device should now be AdFree, however you might need to reboot to clear your cache. I rebooted the device. Ran AdFree again and it says your good to go! No need to update, your system already has the latest version.
So I guess it should now be working?
I installed a few 'free' apps from the market to see if I get the adds, and sure they are there.
For some reason, I still think it is using the /system/etc/hosts version instead of the version on the sdcard.
zoltar99 said:
If i boot into recovery mode and I get to the green recovery screen, I can no longer type any commands from the terminal window.
Click to expand...
Click to collapse
you have to open a second Command,if you are in the green recovery console
and run the step1.bat there
if you type after you have done all the steps
cd system
cd etc
ls -al *host*
you should see something like
lrwxrwxrwx 1 0 0 17 May 13 04:43 hosts -> /sdcard/etc/hosts
then its rights
I got that, thanks, but please read the second part of my last message and tell me do you think that is ok? I have installed Adfree, it says it is up to date, but it is still not blocking ads, apparently.
sould be right now
That's what I thought, but is there another way to tes apart from running apps that use adds? I tried by putting a few sites taken from the hosts file into the browser, and it opens all of them I have a customised hosts file on my pc as well, and it works like a charm.
then use your customized one. idk if the files from adfree uptodate. but i can say it will work
Finally Adfree working
kingchris said:
i have created a new version of the fiel with a step1 and step2 batch
boot into recovery.
run recovery-windows.bat
run install-adfree-windows-step1.bat
reboot into your normal system
install-adfree-windows-step2.bat
then start adfree
if you get the Error Message try it again.
i think this is not an error created by the modification,
this is a problem on checking and downloading the hosts file
i made an error in the first script
in the script i wrote adb mount but it has to be adb shell mount
Click to expand...
Click to collapse
Thanks a lot man, seems to be working ok now, I have had so much trouble getting this to work, finally working.
I have successfully updated adfree with your file. Thanks so much.
Sorry to ask a silly question...
because when I boot into the recovery mode, I can see several options available but I cannot choose them.
I hold volume down & power on, then I select "recovery" & press "power" again that means I choose this option then it goes into recovery mode, right? In the recovery mode, I cannot choose anything because if I press any button it simply turns off the monitor! What should I do??
(I take out the battery to complete the reboot........... There must be some other ways?)
veronl said:
I have successfully updated adfree with your file. Thanks so much.
Sorry to ask a silly question...
because when I boot into the recovery mode, I can see several options available but I cannot choose them.
I hold volume down & power on, then I select "recovery" & press "power" again that means I choose this option then it goes into recovery mode, right? In the recovery mode, I cannot choose anything because if I press any button it simply turns off the monitor! What should I do??
(I take out the battery to complete the reboot........... There must be some other ways?)
Click to expand...
Click to collapse
Not sure if you've resolved this or not. If not, what recovery are you using? Iv use Amon_Ra's on my HTC Magic, and Clockwork's on HTC Desire, both of which allow you to use the scrollball/pad to select the menu's

[q] failing while rooting lg g2 f320l

Hi,
I got the new G2 F320L LGU+ version from Korea.
Did an OTA to software version F320L11K.
Then tried to root using IOROOT method http://forum.xda-developers.com/showthread.php?t=2448887
But it gave following error
Mounting system RW and pushing SU, then remounting system RO again
mount: Operation not permitted
failed to copy 'su' to '/system/xbin/su': Read-only file system
Unable to chown /system/xbin/su: No such file or directory
Unable to chmod /system/xbin/su: No such file or directory
mount: Operation not permitted
Installing superuser
5338 KB/s (1468798 bytes in 0.268s)
pkg: /data/local/tmp/superuser.apk
Success
***************************************************
Done.
***************************************************
Please check the above for any errors and let me know if you run into any issues
.
Enjoy your phone!
Press any key to continue . . .
Click to expand...
Click to collapse
Then I went thru the thread and found one of the solutions which suggested flashing back to stock ROM then factory reset and again root will work.
So I did that. But it still is not rooting.
I used the method posted by "hyelton" in the following link to flash. It flashed alright back to F32011G version of sofware i.e. before the update.
http://forum.xda-developers.com/showthread.php?t=2432476&highlight=uptestex+exe
The complete message that is coming in the command prompt is as below
**************************************************
Easy root for LG G2
Supports the following carriers:
ATT, TMO, SPR, VZW, BELL, RGS, TLS
KT, LGU, SKT, TLS, CLR and OPEN
By IOMonster (thecubed on XDA)
See http://tinyw.in/mXhw for details
ECHO is off.
... some additions by Shelnutt2 and autoprime
**************************************************
Original root idea from http://optimusforums.com/threads/how-to-root-the-lg-g2-f
320.8846/
Press any key to continue . . .
Looking for device...
Make sure drivers are installed.
Check Windows Device Manager if
script sits on "wait-for-device"
Determining carrier...
Found LGU phone!
Pushing g2_security...
40 KB/s (288 bytes in 0.007s)
*******************************************************
STOP!! Unplug usb then go to developer options
and disable USB debugging and re-enable it.
Once you've done that, re-plug your usb...
*******************************************************
Press any key to continue . . .
Waiting for device...
Now it's time to install su and superuser.
Please note! This will trip LG's rootchecker!
This means your phone will show ROOTED in the settings menu,
and in the LG Download mode.
If you do not want to possibly invalidate your warranty
press CTRL-C to stop this script.
You will have a rooted ADB, but no apps on the phone will be able
to access root functions.
Press any key to continue . . .
Mounting system RW and pushing SU, then remounting system RO again
mount: Operation not permitted
failed to copy 'su' to '/system/xbin/su': Read-only file system
Unable to chown /system/xbin/su: No such file or directory
Unable to chmod /system/xbin/su: No such file or directory
mount: Operation not permitted
Installing superuser
5338 KB/s (1468798 bytes in 0.268s)
pkg: /data/local/tmp/superuser.apk
Success
***************************************************
Done.
***************************************************
Please check the above for any errors and let me know if you run into any issues
.
Enjoy your phone!
Press any key to continue . . .
Click to expand...
Click to collapse
I would be grateful and obliged if anyone could help me resolve this issue.
Thanks for taking the time to read thru the thread. I know its long but I wanted it to be as detailed as possible.
@ndroidomeda said:
Hi,
I got the new G2 F320L LGU+ version from Korea.
Did an OTA to software version F320L11K.
Then tried to root using IOROOT method http://forum.xda-developers.com/showthread.php?t=2448887
But it gave following error
Then I went thru the thread and found one of the solutions which suggested flashing back to stock ROM then factory reset and again root will work.
So I did that. But it still is not rooting.
I used the method posted by "hyelton" in the following link to flash. It flashed alright back to F32011G version of sofware i.e. before the update.
http://forum.xda-developers.com/showthread.php?t=2432476&highlight=uptestex+exe
The complete message that is coming in the command prompt is as below
I would be grateful and obliged if anyone could help me resolve this issue.
Thanks for taking the time to read thru the thread. I know its long but I wanted it to be as detailed as possible.
Click to expand...
Click to collapse
Please Help Guys.. :crying:
@ndroidomeda said:
Please Help Guys.. :crying:
Click to expand...
Click to collapse
It doesn't support 320L/S version.
You may try the following method:-
ROOT:
F320 root pack (from choimobile.vn)
link: mega.co.nz/#!wB5B3AyC!YCtJDg9vfLRuwxoR8E0ZnlpRMctIft5zbzczA7uLAyo
or
Another method:
link: mega.co.nz/#!QN42wbgA!CKH5mUyTNJrSnopt88dpRwbvPqYUw_W_g_91XZG62ts
(basically they are using the same method, one is by exe and the other is cmd)
> Make sure you enable allow "untrusted sources" (Setting | General | Security) and enable usb "debugging mode" (Setting | General | Developer options)
How to show Developer option under General (by default this option is hidden)
Setting -> General -> About Phone -> Software Information
Press "Build number" 10 times
> Install the LG usb drivers, connect the phone in LG software mode.
> Connect the phone to your PC via USB Cable.
> Run the "Root LG G2.exe" from the attached archive.
> Follow the command prompt instructions
you should try on vroot , just download it and run it , enable usb debugging , press the green button n ur phone will be rooted , i also ve f320l

[Q] F320k updated to kitkat, show rotted, but cannot access root

Hi!!
Really need a hand right here.
I have got the f320k, and it successfully updated to 4.4.
After that, I tried to root it, but it kept showing:
Mounting system RW and pushing SU, then remounting system RO again
mount: Operation not permitted
failed to copy 'su' to '/system/xbin/su': Read-only file system
Unable to chown /system/xbin/su: No such file or directory
Unable to chmod /system/xbin/su: No such file or directory
I tried couple of times, it turned out to be the same as the above.
Then I got into download mode, it shows the phone is rooted.
Does it mean that I have rooted the phone only with a shell privilege but not root?
coz in the cmd, it didnt show as # but $.
Could anyone please give me some advice?
Thank you so much!
Hey,
Have you had any luck resolving this issue i have the exact same problem when tring to root.

[Q] D802t Can't root

I am a D802t users. I rooted my phone under 4.2.2, then it OTA to 4.4.2 and found the phone became unrooted. Today I used USB flash to a totally new official system and use Toolkit v1.5 from XDA, but still failed. The log was as following:
Mounting system RW and pushing SU, then remounting system RO again
mount: Operation not permitted
cannot stat 'su': No such file or directory
Unable to open /system/xbin/su: No such file or directory
Unable to open /system/xbin/su: No such file or directory
mount: Operation not permitted
Installing superuser
can't find 'superuser.apk' to install
Would anyone like to tell me how to root my phone? Thanks a lot.
you can do it with towelroot

Unable to root LG G2 D802 4.4.2. 3.4.0

Hi All,
I am trying to root my LG G2 D802 (KitKat 4.4.2, Kernel 3.4.0) by using IOroot. I am getting the error:
Mounting system RW and pushing SU, then remounting system RO again
mount: Operation not permitted
failed to copy 'su' to '/system/xbin/su': Read-only file system
Unable to open /system/xbin/su: No such file or directory
Unable to open /system/xbin/su: No such file or directory
mount: Operation not permitted
Installing superuser
4371 KB/s (1468798 bytes in 0.328s)
pkg: /data/local/tmp/superuser.apk
Success
In addition I checked and the phone seems to be rooted (with a couple of apps).
1. Why am I getting these errors?
2. I tried to install twrp and it seems its installed, however I am not able to backup, I am getting a message its cannot mount system, data, etc..
Any ideas? Thanks
Use towelroot
just install towelroot from towelroot.com by clicking on the 'lambda' sign there. one finished, install it and click on the 'root' or 'let it rain' button. you will be definitely successfull in rooting your device. towelroot has never disappointed me ever. hit the thanks button if it helped. *wink*
UnDeville said:
just install towelroot from towelroot.com by clicking on the 'lambda' sign there. one finished, install it and click on the 'root' or 'let it rain' button. you will be definitely successfull in rooting your device. towelroot has never disappointed me ever. hit the thanks button if it helped. *wink*
Click to expand...
Click to collapse
Hey man, its actually that my phone was encrypted, totally forgot about that. So I just decrypted and everything worked. Thanks anyway

Categories

Resources