Root 2.3.6 Roms - Milestone 2 General

Good news everyone!
Here is the rooting method for 2.3.6 ROM's, that I decided to call PreinstalameEsta (roughly translated to PreinstallThis)
This method doesn't change any user data. The sbf that is flashed during the procedure only modifies the /preinstall partition (CG66), in which exists a security problem that I exploited to get the root access.
Files needed:
PreinstalameEsta's Files: https://github.com/downloads/nicofff/preinstalameEsta/nicofff-preinstalameEsta-v0.9-4-gce4da6b.zip
ADB, RSD lite, drivers, etc.
Procedure:
1) Unzip the PreinstalameEsta's Files
2) Plug your phone, and switch on USB debugging
3) Run the rootMM2_en.bat file (or runme_en.sh on linux)
3) When asked to flash the new sbf file, reboot the phone into bootloader mode (turn on while pressing the up arrow on the keyboard)
4) Open RSD lite, select the fixed.sbf file and flash it into the phone. (if on linux, use the sbf_flash app included)
5) When it finishes flashing, and reboots, continue executing the rootMM2.bat file.
6) After a few reboots more, the batch file will finish and the phone should be rooted.
In case you want to contribute code, translations, etc.:
https://github.com/nicofff/preinstalameEsta
For an explanation (in spanish) on how i found the root, check here:
http://nicofff.blogspot.com.ar/2012/06/historia-de-un-rooteo-y-todo-lo-que.html
Original Thread on GA: http://www.grupoandroid.com/topic/49338-root-ginger-de-personal-claro-movistar-vivo-y-tigoretail/
Happy Rooting
Nicofff
Update 05/08/2012:
I got my phone stolen last night (In San Telmo, Buenos Aires). Just in case it ends in the hands of a good soul and they happen to come here, i humbly ask them to return it.
The way to identify it: Under the battery, there is a sticker from AFIP that is slightly burnt.
Thanks

Hello my friend, I made all steps and I couldn't make it
I have milestone 2 (brazilian version)
45.2.2710.A953.Latam.en.01 (retail R01)
I think I'll be forever with this rom !
Any idea ?!?!
Thanks !!

Gauzo said:
Hello my friend, I made all steps and I couldn't make it
I have milestone 2 (brazilian version)
45.2.2710.A953.Latam.en.01 (retail R01)
I think I'll be forever with this rom !
Any idea ?!?!
Thanks !!
Click to expand...
Click to collapse
Try again.. All people in Argentina could do it using this tutorial.. Just look at the original thread
Sorry for my english

Gauzo said:
Hello my friend, I made all steps and I couldn't make it
I have milestone 2 (brazilian version)
45.2.2710.A953.Latam.en.01 (retail R01)
I think I'll be forever with this rom !
Any idea ?!?!
Thanks !!
Click to expand...
Click to collapse
What errors did you get?
Paste the output from the script and from RSDlite

argentina personal
Did it work on argentina personal ? :crying:

makipn said:
Did it work on argentina personal ? :crying:
Click to expand...
Click to collapse
Yes it does! 300 Downloads from GrupoAndroid and counting!

I flashed fixed.sbf with rsdlite, everything was fine... after that when I tried to use the root_mm2_en, it was saying that couldn't change, like other roots (doomlord v4, superoneclick,...)
What can I do ? Later I'll post my error
Thanks a lot !

gb vivo 2.3.6 & windows 7
when i run rootMM2-en.bat it opens a window where there is written " press a button to continue" when i press it, it start to work and appers this message :
0 KB/s (105 bytes in 1.000s)
Without closing this window, shutdown the phone
and restart it in bootloader mode (power + UP key in the keyboard)
Once inside the bootloader mode, flash the fixed.sbf from rsdlite
after it restarts, enable USB debugging and press enter to continue...
Premere un tasto per continuare . . .
Waiting for Phone
Syntax error: Unterminated quoted string
than the phone switch off by itself and i had turn it on in bootloader mode, i have flashed the fixed sbf and than the it show me this message
remount failed: Operation not permitted
failed to copy 'su' to '/system/bin/su': Read-only file system
Unable to chmod /system/bin/su: No such file or directory
link failed Read-only file system
failed to copy 'busybox' to '/system/xbin/busybox': Read-only file system
Unable to chmod /system/xbin/busybox: No such file or directory
/system/xbin/busybox: not found
failed to copy 'Superuser.apk' to '/system/app/Superuser.apk': Read-only file sy
stem
/sbin/hotplug > /sys/kernel/uevent_helper
The End
is it a bug or i had make a mistake ?

sminatore said:
is it a bug or i had make a mistake ?
Click to expand...
Click to collapse
It's a bug because of the translation... I've found it:
Code:
adb shell "echo 'doing something on adb, otherwise it doesn't work'"
Should change to
Code:
adb shell "echo 'doing something on adb, otherwise it does not work'"
@nicofff the ' in "don't" caused a syntax error

sminatore said:
gb vivo 2.3.6 & windows 7
when i run rootMM2-en.bat it opens a window where there is written " press a button to continue" when i press it, it start to work and appers this message :
0 KB/s (105 bytes in 1.000s)
Without closing this window, shutdown the phone
and restart it in bootloader mode (power + UP key in the keyboard)
Once inside the bootloader mode, flash the fixed.sbf from rsdlite
after it restarts, enable USB debugging and press enter to continue...
Premere un tasto per continuare . . .
Waiting for Phone
Syntax error: Unterminated quoted string
than the phone switch off by itself and i had turn it on in bootloader mode, i have flashed the fixed sbf and than the it show me this message
remount failed: Operation not permitted
failed to copy 'su' to '/system/bin/su': Read-only file system
Unable to chmod /system/bin/su: No such file or directory
link failed Read-only file system
failed to copy 'busybox' to '/system/xbin/busybox': Read-only file system
Unable to chmod /system/xbin/busybox: No such file or directory
/system/xbin/busybox: not found
failed to copy 'Superuser.apk' to '/system/app/Superuser.apk': Read-only file sy
stem
/sbin/hotplug > /sys/kernel/uevent_helper
The End
is it a bug or i had make a mistake ?
Click to expand...
Click to collapse
do this:
adb shell "rm /data/preinstall_md5/*"
and then run the script again, but when instead of rebooting into bootloader mode and flashing, just reboot it normally

thx for answer
but....i'm a noob... where i should type this : adb shell "rm /data/preinstall_md5/*" ??

I had the same problem, I'll try to do this ! let's see guys !

Caesarivs said:
It's a bug because of the translation... I've found it:
Code:
adb shell "echo 'doing something on adb, otherwise it doesn't work'"
Should change to
Code:
adb shell "echo 'doing something on adb, otherwise it does not work'"
@nicofff the ' in "don't" caused a syntax error
Click to expand...
Click to collapse
Just updated the POST pointing to the fixed version

sminatore said:
thx for answer
but....i'm a noob... where i should type this : adb shell "rm /data/preinstall_md5/*" ??
Click to expand...
Click to collapse
Gauzo said:
I had the same problem, I'll try to do this ! let's see guys !
Click to expand...
Click to collapse
Just download the latest version (v0.9-4) from github: https://github.com/nicofff/preinstalameEsta
The bug is fixed

still doesnt work, i have downloaded the last version and than follow again the instructions written in firts post, but if i turn on the device on bootmode it give me always the same error, and if i turn on the phone normally i cant flash the sbf file ....

sminatore said:
still doesnt work, i have downloaded the last version and than follow again the instructions written in firts post, but if i turn on the device on bootmode it give me always the same error, and if i turn on the phone normally i cant flash the sbf file ....
Click to expand...
Click to collapse
Run rootMM2.bat, do you get the same error?

rootMM2_en.bat
im trying on linux now... lets see

sminatore said:
rootMM2_en.bat
im trying on linux now... lets see
Click to expand...
Click to collapse
There are two .bat files... rootMM2_en.bat and rootMM2.bat... run rootMM2.bat and tell us if you get the same error... because the bug is fixed, it should be something else

Hey Guys !!! thanks it's working now !!!
Just try to use Rootmm2.bat not the other one with EN....
Thanks a LOT !!!!!

oh **** it works!!!!!!
(have done the same step i have done with rootMM2_en.bat)
THANKS!

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] how to unpack squashed.sqsh in NAND android builds ??

hi ..
i need help with this ,, i already posted on Q/A forum and didn't get any answers !!
i want to make some changes on the squashed.sqsh file but i can't cause it is read only !!
so is there a way to unsquash it or unpack it and then resquash the file ??
i did some search and found out that this could only be done on linux so i went ahead and downloaded the latest Ubuntu build
and tried this command
"sudo squashfs /home/'user'/desktop/extract /home/'user'/desktop/squashed.sqsh"
the file is on my desktop
but i get command not found ..
i searched and found that i need to download "squashfs-tools" and i did download version 4.1
but now how do i install it ??
the read me says that i have to use "make" command but i don't know how to use it !!
i also searched and it is all complicated and i couldn't figure out the way to install it !!
this is my first time using linux !!
please help cause as for now Android on NAND is pretty much useless for me !!
i'll be sure to make a guide after this .. for people who want to modify the squashed.sqsh file ..
I agree with you too.. Nand is kinda useless for the EU HD2.. TMOUS HD2 are lucky to have 1gb ROM.. these days i'm having nothing on my phone :/
D69K said:
hi ..
i need help with this ,, i already posted on Q/A forum and didn't get any answers !!
i want to make some changes on the squashed.sqsh file but i can't cause it is read only !!
so is there a way to unsquash it or unpack it and then resquash the file ??
i did some search and found out that this could only be done on linux so i went ahead and downloaded the latest Ubuntu build
and tried this command
"sudo squashfs /home/'user'/desktop/extract /home/'user'/desktop/squashed.sqsh"
the file is on my desktop
but i get command not found ..
i searched and found that i need to download "squashfs-tools" and i did download version 4.1
but now how do i install it ??
the read me says that i have to use "make" command but i don't know how to use it !!
i also searched and it is all complicated and i couldn't figure out the way to install it !!
this is my first time using linux !!
please help cause as for now Android on NAND is pretty much useless for me !!
i'll be sure to make a guide after this .. for people who want to modify the squashed.sqsh file ..
Click to expand...
Click to collapse
to unpack a squashed image use this command:
sudo unsquashfs /your directory/system.sqsh, this yo will do inside the directory that you have your system.sqsh
then to repack it use sudo squashfs /the unquashed system folder/ system.sqsh
there might be some mistakes its been a while since iv tampered with sytem images squashed. hopefully you have an idea now
siulmagic said:
to unpack a squashed image use this command:
sudo unsquashfs /your directory/system.sqsh, this yo will do inside the directory that you have your system.sqsh
then to repack it use sudo squashfs /the unquashed system folder/ system.sqsh
there might be some mistakes its been a while since iv tampered with sytem images squashed. hopefully you have an idea now
Click to expand...
Click to collapse
thank you very much for the help
it is nice to see that people still care about each other
i actually tried that but i get an error
Code:
Parallel unsquashfs: Using 2 processors
713 inodes (2805 blocks) to write
dir_scan: failed to open directory squashfs-root, because File exists
[| ] 0/2805 0%
created 0 files
created 0 directories
created 0 symlinks
created 0 devices
created 0 fifos
I can't squshfs.. just unsqushfs, thats all..
EDIT: someone helped me solving all the problems, its mksquashfs.
So, any luck being able unsquash and squash? Have any of you been able to modify system files using this method? I'd love to be able to modify framework-res.apk. Seems like a difficult process though....
I'll try making a tutorial for who doesn't know how to do those methods.
patmorris said:
So, any luck being able unsquash and squash? Have any of you been able to modify system files using this method? I'd love to be able to modify framework-res.apk. Seems like a difficult process though....
Click to expand...
Click to collapse
have you tried using "sudo unsquashfs /home/user/location/squashed.sqsh" ??
white-energy said:
I'll try making a tutorial for who doesn't know how to do those methods.
Click to expand...
Click to collapse
yes please i tried the above command but couldn't get it to work on my machine !!
it says something about failed to access squashed-root because file exists !!!
any help would be appreciated
This can be done within Windows aswell. You just have to grab this package and unzip into a new folder.
Copy the squashed.fsqh into this folder and execute
>unsquashfs squashed.sqsh
it will create a folder squashfs-root.
Now you can edit whatever you want. When you are done use this command to repack. Note that you must delete the old sqaushed.sqsh before you do so or you will get an error message
>mksquashfs squashfs-root squashed.sqsh -all-root
now you can connect to the device with adb and log into shell
>adb shell
And delete the squashed.sqsh on the device
#rm /system/squashed.sqsh
#exit
and reeboot
>adb reboot
The device will stop during boot because the squashed.sqsh ist missing
connect with adb and push the new squashed.sqsh
>adb push squashed.sqsh /system/squashed.sqsh
and reboot
>adb reboot
Done!
Note that this is for gauners Rom. He used squashfs 4.0. Maybe you will need 4.1 for other roms. I don´t know. Not a linux guy
Odhinn said:
This can be done within Windows aswell. You just have to grab this package and unzip into a new folder.
Copy the squashed.fsqh into this folder and execute
>unsquashfs squashed.sqsh
it will create a folder squashfs-root.
Now you can edit whatever you want. When you are done use this command to repack. Note that you must delete the old sqaushed.sqsh before you do so or you will get an error message
>mksquashfs squashfs-root squashed.sqsh -all-root
now you can connect to the device with adb and log into shell
>adb shell
And delete the squashed.sqsh on the device
#rm /system/squashed.sqsh
#exit
and reeboot
>adb reboot
The device will stop during boot because the squashed.sqsh ist missing
connect with adb and push the new squashed.sqsh
>adb push squashed.sqsh /system/squashed.sqsh
and reboot
>adb reboot
Done!
Note that this is for gauners Rom. He used squashfs 4.0. Maybe you will need 4.1 for other roms. I don´t know. Not a linux guy
Click to expand...
Click to collapse
thank you very much for the answer
i got it unsquashed by dragging the squashed.sqsh to unsquash.exe
"because when i try opening the unsquash.exe and mksquash.exe i get a cmd with a bunch of lines for like half a second and then it exits before i even do any thing"
then i tried putting it back togeather by draging squashed-root folder to mksquash.exe and it didn't work ??
i also tried squash-tools 4.1 and the same error happened !!
running out of options here
Ehm... This a command line tool. You have to open a cmd window and cd to the folder where you have the unsquash und mksquash files. The execute the commands.
Do you have adb installed and working? This is part of the android sdk. You will need it to push the file after repacking.

[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

Root D802 KK

hgey i just got mine lg g2 D802 and i updated it to KK imediatley !! but how the h** can i root this phone ? i ran an root batch file and it did say it had rooted my phone but wheni try rootchecker from play store it will not confirme i have root acces....
Have you got supersu app installed?
Sent from my LG-D802 using XDA Free mobile app
Did you have any output while it was in recovery ?
Try manually installing supersu
If it's already there, open it and check "enable superuser".
try this:
download terminal emulator from playstore (any..)
open it and type
Code:
su
and hit enter
if it asks for root access then you're rooted for sure. If not, there is something wrong and post results here
my output is(just tried again) :
Code:
**************************************************
Easy root for LG G2
Supports the following carriers:
ATT, TMO, VZW, KT, SKT, RGS, BELL, TLS and OPEN
By IOMonster (thecubed on XDA)
See http://tinyw.in/mXhw for details
**************************************************
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...
Determining carrier...
Found ATT, TMO, SKT, or D802 phone!
Pushing g2_security...
25 KB/s (288 bytes in 0.011s)
*******************************************************
Now, please unplug usb, 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 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
4524 KB/s (1468798 bytes in 0.317s)
pkg: /data/local/tmp/superuser.apk
Failure [INSTALL_FAILED_ALREADY_EXISTS]
***************************************************
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 . . .
i tried the su comman and su is not installed :S
Weird. Is it ioroot25 you're trying ? At least on d802 I've never seen it makes problems.
video
bender_007 said:
Weird. Is it ioroot25 you're trying ? At least on d802 I've never seen it makes problems.
video
Click to expand...
Click to collapse
it is ioroot10 i found gonna try with 25
dgaa1991 said:
it is ioroot10 i found gonna try with 25
Click to expand...
Click to collapse
thanks !!! it worked !
Please always read the latest posts as the main threads. Be more specific next time
If you've said it's ioroot10 we would know where the issue is
bender_007 said:
Please always read the latest posts as the main threads. Be more specific next time
If you've said it's ioroot10 we would know where the issues is
Click to expand...
Click to collapse
i will, i just didnt now there was more than one version of the program/script

UNBRICK ASUS MemoPad 7 ME176C/CX

Enter recovery and sideload CN ROM
http://dlcdnet.asus.com/pub/ASUS/EeePAD/ME176C/ME176C-CN-3_2_23_182.zip
To return to WW rom its a litle complicated becouse when you try to sideloade ww version it gives error for not having inough space. So you need to give command to recovery to instal zip from location you want.
1. root with rootzenfone.apk
http://23pin.logdown.com/posts/230216-root-rootzenfone-14r
2. turn on usb debuging
3. download ww rom and rename it update.zip
http://dlcdnet.asus.com/pub/ASUS/EeePAD/ME176C/ME176C-WW-3_2_23_182.zip
4. download es or some other file menager that has root access.
5. go to / (root) and manualy copy update.zip to /data folder
6. Download https://drive.google.com/file/d/0B6...drivesdk&resourcekey=0-W0btfSuQS9kq5iNNsCuWgQ and copy command file to cache/recovery folder
6. open ADB and type line by line:
adb remount
adb shell
su
echo 'boot-recovery ' > /cache/recovery/command
echo '--update_package=/data/update.zip' >> /cache/recovery/command
echo '--wipe_cache' >> /cache/recovery/command
echo 'reboot' >> /cache/recovery/command
reboot recovery
after this reboot to recovery and automaticly instal ww rom
This is fantastic, and smart move making a new thread...
Thanks,
sutekh137
And if you're not bricked, but can't update from the old software version. Copy and paste the commands in terminal emulator to force the update. Worked out great. Thanks for the tip.
slayeralive said:
Enter recovery and sideload CN ROM
http://dlcdnet.asus.com/pub/ASUS/EeePAD/ME176C/ME176C-CN-3_2_23_182.zip
To return to WW rom its a litle complicated becouse when you try to sideloade ww version it gives error for not having inough space. So you need to give command to recovery to instal zip from location you want.
1. root with rootzenfone.apk
http://23pin.logdown.com/posts/230216-root-rootzenfone-14r
2. turn on usb debuging
3. download ww rom and rename it update.zip
http://dlcdnet.asus.com/pub/ASUS/EeePAD/ME176C/ME176C-WW-3_2_23_182.zip
4. download es or some other file menager that has root access.
5. go to / (root) and manualy copy update.zip to /data folder
6. open ADB and type line by line:
adb remount
adb shell
su
echo 'boot-recovery ' > /cache/recovery/command
echo '--update_package=/data/update.zip' >> /cache/recovery/command
echo '--wipe_cache' >> /cache/recovery/command
echo 'reboot' >> /cache/recovery/command
reboot recovery
after this your device will reboot to recovery and automaticly instal ww rom
Click to expand...
Click to collapse
I'm having a lil problem here. Could you elaborate a little more, like in /root. <-- What does this mean? Do i write root or am I to go to root of the tablet's memory? And should I use adb on my PC connecting by usb cable to the tablet? I'm having a little problem understanding some of the steps.
(Remember, it's my sex life that it's in danger here)!
bravesoul said:
I'm having a lil problem here. Could you elaborate a little more, like in /root. <-- What does this mean? Do i write root or am I to go to root of the tablet's memory? And should I use adb on my PC connecting by usb cable to the tablet? I'm having a little problem understanding some of the steps.
(Remember, it's my sex life that it's in danger here)!
Click to expand...
Click to collapse
I would assume root of the device itself as the next step is to put update.zip in /data
(Get me in on the fun. I helped. )
I tried terminal emulator to write adb remount, but just after I wrote it, it gives me an error.
I've put the the update.zip in data folder. but there's like two data folders in my tablet's memory root. Do I put it after mnt or before (I,m using root browser v2.3)? Like in the real root of everything? Another question. Must I use the zip inside another zip of the asus ww rom, or just the unzipped zip file. (LOL, confusing, i know).
(I dunno JerBear, they're very peculiar about what/who they blow)!!
bravesoul said:
I tried terminal emulator to write adb remount, but just after I wrote it, it gives me an error.
I've put the the update.zip in data folder. but there's like two data folders in my tab memory's root. Do I put it after mnt or before?
Click to expand...
Click to collapse
They should be symlinked to the same thing. Let me check...
Well. I only have the data folder that's in the root. Peculiar.
As for the zip file question, go for trial and error. Worst case scenario recovery rejects it.
(We'll work around it )
This is what I get in terminal emulator:
Me176c
bravesoul said:
This is what I get in terminal emulator:
Click to expand...
Click to collapse
You need that command only when you are using ADB over PC
Thanks, but I have other issues.
What zip file should I use? The original we download from ASUS or the zip file inside the original.
JerBear told me to try one or another, but he doesn't know I'm in a place where Internet speed is like 50 Kbps... Which means it takes about two hours to download the original file.
However,(and this will sound strange), if anyone can give me the original names of both the original .182 zip file and the one inside the original, I think I can use a previously (and renamed) downloaded .182 ROM.
Me176c
bravesoul said:
Thanks, but I have other issues.
What zip file should I use? The original we download from ASUS or the zip file inside the original.
JerBear told me to try one or another, but he doesn't know I'm in a place where Internet speed is like 50 Kbps... Which means it takes about two hours to download the original file.
However,(and this will sound strange), if anyone can give me the original names of both the original .182 zip file and the one inside the original, I think I can use a previously (and renamed) downloaded .182 ROM.
Click to expand...
Click to collapse
Use zip inside original.
slayeralive said:
Use zip inside original.
Click to expand...
Click to collapse
So to be clear. I'll use ES File Manager to rename the file (update.zip) and copyit into Root->Data->Turn off the tablet and on again->enter into recovery->in PC I'll use adb->type adb remount and other commands->The tablet will reboot and update into the WW.182 ROM.
Right?
Me176c
bravesoul said:
So to be clear. I'll use ES File Manager to rename the file (update.zip) and copyit into Root->Data->Turn off the tablet and on again->enter into recovery->in PC I'll use adb->type adb remount and other commands->The tablet will reboot and update into the WW.182 ROM.
Right?
Click to expand...
Click to collapse
No man can you read? Do not turn of. Connect to pc and use adb or use terminal. If you are using terminal skip adb commands and start at "su" command. After typing last command it will automaticly reboot to recovery and start instalation than just wait...
slayeralive said:
No man can you read? Do not turn of. Connect to pc and use adb or use terminal. If you are using terminal skip adb commands and start at "su" command. After typing last command it will automaticly reboot to recovery and start instalation than just wait...
Click to expand...
Click to collapse
Ok, ok. Don't get your intelligence in a twist.
Thanks for helping me with my absurd noobiness. :good:
bravesoul said:
Ok, ok. Don't get your intelligence in a twist.
Thanks for helping me with my absurd noobiness. :good:
Click to expand...
Click to collapse
Have fun with your "reward"
Not yet I'm afraid. I've tried via terminal emulator and indeed it goes to recovery, but afterwards, it just reboots into the CN version untouched.
(And JerBear, i'm kidding about the chicks...They aren't 3. It's only one).
Try again you did somethin wrong
Folow the steps download->extract->rename to update.zip->copy to /data folder->type in terminal
bravesoul said:
Not yet I'm afraid. I've tried via terminal emulator and indeed it goes to recovery, but afterwards, it just reboots into the CN version untouched.
(And JerBear, i'm kidding about the chicks...They aren't 3. It's only one).
Click to expand...
Click to collapse
If you missd or typed wrong one character in terminal it wont work. Try again.
bravesoul said:
Not yet I'm afraid. I've tried via terminal emulator and indeed it goes to recovery, but afterwards, it just reboots into the CN version untouched.
(And JerBear, i'm kidding about the chicks...They aren't 3. It's only one).
Click to expand...
Click to collapse
From the top, you must be rooted and you must know what that is.
I used the file from inside the download. I believe it has user in the name.
Rename this file to be update.zip.
Place update.zip into the data folder in the root directory, ie. root/data/update.zip.
Back out of that when it's finished and find the original post with the instructions, touch it and touch the message symbol like you are going to reply.
Copy all of the commands from after su, to the end.
Open terminal emulator, Type su and give root permission at the prompt, touch and paste, you should see what you copied, if you don't, do it again. If you do, touch enter and the process will begin.
Do not do anything until the device reboots COMPLETELY. It will go through several reboots, just wait.
Viola, you will be updated.

Categories

Resources