[FIX] adhoc wifi Nook Tablet 0.6.10 tiwlan0 - Barnes & Noble Nook Tablet

Hi all,
There have been a couple of threads regarding ad-hoc not working for the NT but I decided to make a new one so it would be easily searchable. Please find below the fix for adhoc wifi. This fix should work for any OMAP4 device that uses version 0.6.10 of wpa_supplicant. The patch for this came from the following link (the diff file). I just applied it and recompiled for our device.
http://forum.xda-developers.com/showpost.php?p=7711198&postcount=6
Download the files attached below.
Turn off wifi.
To apply the fix do the following with adb (you will need root) or just use root explorer. Be sure to do a backup first (included in the adb script below).
Code:
$ adb pull /system/bin/wpa_supplicant wpa_supplicant.bak
$ adb shell
$ su
# mount -o remount,rw /dev/block/mmcblk0p5 /system
# chmod 777 /system/bin/wpa_supplicant
# exit
$ exit
$ adb push wpa_supplicant.omap4.adhocfix /system/bin/wpa_supplicant
$ adb shell
$ su
# chown root /system/bin/wpa_supplicant
# chmod 755 /system/bin/wpa_supplicant
# mount -o remount,ro /dev/block/mmcblk0p5 /system
# exit
$ exit
Turn wifi back on. You should be good to go.
I'm very happy to say that my wife will be driving everywhere now as I will be even more inseparable from this lovely little device from now on now that those of us with old tethers are MOBILE!
One thing I noticed using this patch. After installing it the first time you reboot you may need to go into the wireless settings and forget your networks to be able to reconnect.

worked perfectly thank you!
Sent from my BNTV250 using Tapatalk

Glad to hear it. I have been running it for about 2 days between AP and adhoc and haven't had problems yet.

zambien said:
Hi all,
There have been a couple of threads regarding ad-hoc not working for the NT but I decided to make a new one so it would be easily searchable. Please find below the fix for adhoc wifi. This fix should work for any OMAP4 device that uses version 0.6.10 of wpa_supplicant. The patch for this came from the following link (the diff file). I just applied it and recompiled for our device.
http://forum.xda-developers.com/showpost.php?p=7711198&postcount=6
Download the files attached below.
Turn off wifi.
To apply the fix do the following with adb (you will need root) or just use root explorer. Be sure to do a backup first (included in the adb script below).
Code:
$ adb pull /system/bin/wpa_supplicant wpa_supplicant.bak
$ adb shell
$ su
# mount -o remount,rw /dev/block/mmcblk0p5 /system
# chmod 777 /system/bin/wpa_supplicant
# exit
$ exit
$ adb push wpa_supplicant.omap4.adhocfix /system/bin/wpa_supplicant
$ adb shell
$ su
# chown root /system/bin/wpa_supplicant
# chmod 755 /system/bin/wpa_supplicant
# mount -o remount,ro /dev/block/mmcblk0p5 /system
# exit
$ exit
Turn wifi back on. You should be good to go.
I'm very happy to say that my wife will be driving everywhere now as I will be even more inseparable from this lovely little device from now on now that those of us with old tethers are MOBILE!
One thing I noticed using this patch. After installing it the first time you reboot you may need to go into the wireless settings and forget your networks to be able to reconnect.
Click to expand...
Click to collapse
Using ADB is problem on my machine. How do I do this through root explorer? I assume its much more than save a backup of a file and renaming the new?
Could I open terminal emulator on tablet and do this?
Also, after downloading the files, where would I save them to on my tablet?
Thanks

qngds said:
Using ADB is problem on my machine. How do I do this through root explorer? I assume its much more than save a backup of a file and renaming the new?
Could I open terminal emulator on tablet and do this?
Also, after downloading the files, where would I save them to on my tablet?
Thanks
Click to expand...
Click to collapse
It's pretty easy with root explorer.
1. Turn off wifi.
2. Open root explorer. Navigate to /system/bin.
3. Copy wpa_supplicant
4. Put is somewhere as a backup. Remember where you put it.
5. Get the wpa_supplicant from the zip file above. Unzip it and rename it to wpa_supplicant.
6. Take your new wpa_supplicant from your computer and put it on your nook via usb.
7 With Root Explorer copy the new wpa_supplicant and navigate to /system/bin
8. change to read write.
9. Paste wpa_supplicant into the directory /system/bin which you should be in.
10. Change owner to root.
11. Change permissions to:
read write execute
read execute
read execute
12. Turn wifi back on and test. You may find that you need to reboot your nook if it doesn't work at first.
To restore use the same steps starting at step 6 but with your backup.

whoops, double post

Thanks so much! I figured up til item 10, but it didnt occur to me to change permissions.

Thanks!! works perfectly to tether on my Iphone.

zambien said:
It's pretty easy with root explorer.
1. Turn off wifi.
2. Open root explorer. Navigate to /system/bin.
3. Copy wpa_supplicant
4. Put is somewhere as a backup. Remember where you put it.
5. Get the wpa_supplicant from the zip file above. Unzip it and rename it to wpa_supplicant.
6. Take your new wpa_supplicant from your computer and put it on your nook via usb.
7 With Root Explorer copy the new wpa_supplicant and navigate to /system/bin
8. change to read write.
9. Paste wpa_supplicant into the directory /system/bin which you should be in.
10. Change owner to root.
11. Change permissions to:
read write execute
read execute
read execute
12. Turn wifi back on and test. You may find that you need to reboot your nook if it doesn't work at first.
To restore use the same steps starting at step 6 but with your backup.
Click to expand...
Click to collapse
Thank you for the step by step for us novices.
As a side note, I used ES File Explorer, which shows up on the Android Marketplace on the nook (at least when rooted) to make the switch. I thought I'd add how to do this using this free app.
When using ES File Explorer. I already downloaded and unzipped the new wba supplicant file, and placed in a folder I could access on the device. I also made a copy of the original wba and placed it in an "original wba file" folder:
1. Open ES File Explorer
2. Select "Settings" at the bottom
3. Scroll down to "Home Directory" and change it to "/" (without the quotation marks)
4. Scroll down to "Root settings" and check both "Root Explorer" AND "Mount File System"
5. Backout of settings and try to navigate to "system" and "bin" (if you don't see it try restarting the ES File Explorer program)
From here ES File Explorer can change root files and permissions.
Now you can follow steps 1-9 listed above by zambien. Then...
Once you have replaced the original wpa_supplicant file with the new one under /system/ bin (don't forget the renaming; I used the "copy to" option) you have to:
1. Navigate back to /system/bin and find the new wpa_supplicant file
2. Long press the wpa_supplicant file and scroll down the pop-up menu to "Properties" (should be the last option)
3. Check the following boxes:
-User; read, write, execute
-Group; read, execute
-Other; read execute
I was able to connect to my HD2 through WiFi Tether (came with AmeriCanAndroid) over ad hoc, and confirmed internet access. I did not have to restart the device, but you might have to. I was able to switch between my house WiFi router, and the cell phone WiFi Tether without any issues.
**Update: Issue with reboot. After reboot it keeps trying to connect with adhoc network even though adhoc network it is off (phone off; shows full bars on NT). NT says my home network is out of range. At this point I:
1. Click on ad hoc network and select "Forget"
2. Wait for my home network to show up (sometimes I click on my home network and it shows up as connecting in background; don't know if it matters and just needs time to scan)
It is currently working except for this bug and seems to keep working after sleep. I think it is only a reboot issue. I will keep this configuration for a few days and see if the reboot issue changes.
**Update 2: It seems like the issue is more about waiting a few seconds for the nook to find the networks after sleep and after boots. With the original WiFi file, it was ready right away. Otherwise, works great!

Flawless first time. No need to reboot. Thanks for everything! This plus my galaxy nexus makes for an awesome combination!!!

Worked perfectly first time. Wifi hangs once in a while and I havev to turn it off and back on to kick it back in, but not really a big deal. I rooted my OG droid justs to get wifi to my nook. I love it.

Hi, I have installed this with my rooted NT 1.4.1. It appears to be working perfectly but if I switch WIFI off and power off my NT, it will reboot itself at the Nook screen and I have to force a factory reset to make it work.
@zambien Would you please look into this?

Thanks dude now I can fully use the wifi tether of my phone
Sent from my BNTV250 using xda premium

Change Owner Question...
When I go to change Owner to Root, there's another box below entitled 'Group' which is now showing sd card - I am still having trouble with the Nook recognizing the wifi from my droid x2 - is this something that should be changed to 'Root' as well?

Thank you!
Its because of this site and all the people on here that share their wealth of knowledge that I get to enjoy an optimal electronic experience and I greatly appreciate it! Thanks!

wpstewartjr0421 said:
When I go to change Owner to Root, there's another box below entitled 'Group' which is now showing sd card - I am still having trouble with the Nook recognizing the wifi from my droid x2 - is this something that should be changed to 'Root' as well?
Click to expand...
Click to collapse
where do we go to change the owner? I can change the permissions but no idea where to go to change the owner. Wondering if this is what is keeping me form getting this to work off of my X2 running CM7

rbellis said:
where do we go to change the owner? I can change the permissions but no idea where to go to change the owner. Wondering if this is what is keeping me form getting this to work off of my X2 running CM7
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
~ Veronica

lavero.burgos said:
~ Veronica
Click to expand...
Click to collapse
thank you but that really doesn't tell me anything. I changed the permissions but I still don't know how to change the owner to root. The 3 options below the permissions...what are those?

rbellis said:
thank you but that really doesn't tell me anything. I changed the permissions but I still don't know how to change the owner to root. The 3 options below the permissions...what are those?
Click to expand...
Click to collapse
To change owner simply long press the file a window will pop up scroll down(like when you go to change permissions) in the list and you will see change owner, another window will show now next to Owner pick 0 - root from the list. If you can't see change owner option then you need a recent version of root explorer.
~ Veronica

That did it! Went off w/o a hitch. I used a combination of root explorer and es file explorer. Es file ex to do the unzipping and copying, root ex to change owner and permissions. 1 reboot later and I'm sending this thx thru my phones tether! Thx a mil, guys!

Related

[How-To] Root the Slide with any sw verision and flash cust rom

First I want to thank all the developers here and I take no credit for this all i did was put together a full set of steps
Big thanks to nbetcher with help from ChiefzReloaded who ultimatley go the steps for the exploit needed and to 743c who developed the exploit
Following these steps from beginging to end will allow you to full obtain root and flash a new rom from begining to end. Follow each step and you will be good.
Easy root guide for the MyTouch slide currently any version downloads at bottom
Make sure before starting that the device has atleast 50% battery charge.
Go to C drive on pc and make a new folder we will call root
Copy then all the files from the zip into that folder.
___________________________________________________________
not required but you should also copy a rom that you want to use the the root of the sdcard on the device too then I have included teamfenix 1.7.1 as is a stable 2.2 android rom but you can use anyone you want.
___________________________________________________________
First we will need to get some files to the device would be easiest with a following settings already done:
settings > applications > development > USB debugging (check mark here)
settings > connect to pc > charge only
settings > wireless & networks > wifi unchecked (important)
settings > sound & display > screen timeout > never
Now connect device
Then start the command prompt and uses these commands to move the files we will need
cd C:\root
myroot (just allow to continue we covered the steps in it already)
Will take a few minutes for that to copy everything over to the places on the phone where we need them. will look like is frozen on ESPRIMG.zip that is normal don't interupt it just let it go.
when done we are now ready to actually get root and allow phone to let us get a recovery on there we can use with a few more commands
commands_______ things in () don't run just memos
adb shell
(should now see a $)
cd /sqlite_stmt_journals
chmod 0755 exploid
./exploid
(will have initated the loop hole to get root)
(at this time go to settings and turn wifi on and then back off before continuing)
./exploid
---The password is : secretlol
(You should now have a # instead of a $)
cd /data/local
chmod 04755 *
/data/local/flash_image misc /data/local/mtd0.img
_______________________________________________________________
ok now we are set to apply the engineering build to get a custom rom
Turn off the device
Press and hold volume down and then power up and hold both
let go when see the 3 skateboarding androids
give the phone a minute then will read the moded file on card
when is ready press volume up to apply this update
--- This will take a while just let it run
WAIT - when done it will ask you to reboot DON'T
press volume down for no
then back on bootloader screen press volume down once to highlight recovery and select with power to boot recovery
on the recovery you will have a device with a triangle
hold volume up and power for a second together
volume down and power to select for apply update.zip
and you will then be loaded into the clockwork recovery and will beable to flash the rom of your choosing from sd card.
You can use touch pad not to scroll down and select install zip from sd
select choose zip from sdcard
find your rom and apply
You are now rooted enjoy
needed files - http://www.4shared.com/file/J6i52nwy/slideroot.html
rom i use - http://forum.xda-developers.com/showthread.php?t=749312
I keep getting permission denied when I try to run the chmod command its very frustrating.. the myroot runs perfect everything flashes but then it gives me permission denied any ideas? plz
where you able to cd into the proper directory. what chmod are you getting the error on.
just got it to work good job Artiszan everything is so much smoother then how it use to be.. I had to power off my phone and format my sdcard idk why but it worked and was able to chmod and do everything thanks bro
TheArtiszan said:
First I want to thank all the developers here and I take no credit for this all i did was put together a full set of steps
Big thanks to nbetcher with help from ChiefzReloaded who ultimatley go the steps for the exploit needed and to 743c who developed the exploit
Following these steps from beginging to end will allow you to full obtain root and flash a new rom from begining to end. Follow each step and you will be good.
Easy root guide for the MyTouch slide currently any version downloads at bottom
Make sure before starting that the device has atleast 50% battery charge.
Go to C drive on pc and make a new folder we will call root
Copy then all the files from the zip into that folder.
___________________________________________________________
not required but you should also copy a rom that you want to use the the root of the sdcard on the device too then I have included teamfenix 1.7.1 as is a stable 2.2 android rom but you can use anyone you want.
___________________________________________________________
First we will need to get some files to the device would be easiest with a following settings already done:
settings > applications > development > USB debugging (check mark here)
settings > connect to pc > charge only
settings > wireless & networks > wifi unchecked (important)
settings > sound & display > screen timeout > never
Now connect device
Then start the command prompt and uses these commands to move the files we will need
cd C:\root
myroot (just allow to continue we covered the steps in it already)
Will take a few minutes for that to copy everything over to the places on the phone where we need them. will look like is frozen on ESPRIMG.zip that is normal don't interupt it just let it go.
when done we are now ready to actually get root and allow phone to let us get a recovery on there we can use with a few more commands
commands_______ things in () don't run just memos
adb shell
(should now see a $)
cd /sqlite_stmt_journals
chmod 0755 exploid
./exploid
(will have initated the loop hole to get root)
(at this time go to settings and turn wifi on and then back off before continuing)
./exploid
---The password is : secretlol
(You should now have a # instead of a $)
cd /data/local
chmod 04755 *
/data/local/flash_image misc /data/local/mtd0.img
_______________________________________________________________
ok now we are set to apply the engineering build to get a custom rom
Turn off the device
Press and hold volume down and then power up and hold both
let go when see the 3 skateboarding androids
give the phone a minute then will read the moded file on card
when is ready press volume up to apply this update
--- This will take a while just let it run
WAIT - when done it will ask you to reboot DON'T
press volume down for no
then back on bootloader screen press volume down once to highlight recovery and select with power to boot recovery
on the recovery you will have a device with a triangle
hold volume up and power for a second together
volume down and power to select for apply update.zip
and you will then be loaded into the clockwork recovery and will beable to flash the rom of your choosing from sd card.
You can use touch pad not to scroll down and select install zip from sd
select choose zip from sdcard
find your rom and apply
You are now rooted enjoy
needed files - http://www.4shared.com/file/J6i52nwy/slideroot.html
rom i use - http://forum.xda-developers.com/showthread.php?t=749312
Click to expand...
Click to collapse
This worked so well and for lack of a better word well it is perfect. My friend watched me, and saw how easy it was and he did his new mt3gs as well. Many thanks to all the peeps who worked on this and thanks to TheArtiszan for making this into english. I'm not that tech savy yet. As they say if I can do it anyone can. Thanks again
Error, read only file system
If you get read only errors, you may want to check out Radu Motisan's thread about how to "Write on the Android Read-only file system" on PocketMagic.net (sorry, can't post outside links yet. Just search for the quoted phrase on the aforementioned webpage to read the original post) Thank you Radu Motisan.
A brief overview:
Most of Android partitions are mounted as read only.
For eg. /system where most of the libs and other system components are stored, including the permissions.xml file.
You can temporary re-mount the /system partition to read write and load your new files to that partition!
using adb shell or the android terminal with root privileges, do the following:
See the currently mounted partitions:
Code:
# mount
Then re-mount to read-write the partition you are interested in , eg. /system:
Code:
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3
.../...
You can also:
Code:
mount -o rw,remount -t rootfs /
Click to expand...
Click to collapse
CAVEAT! Please read.
On my MT3GS I had to enter the command to remount the rootfs as read/write a little differently to make it work with my #TEAMSLIDE Kanged CM6
The command was:
Code:
mount -o rw,remount rootfs /
My mount command didn't like the "-t" tag. Works just fine without it for me.
Why did you copy+paste nbetcher's root method?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Can anyone please tell me where to stop if I want to continue with the stock rom but just want phone to be rooted.??...with the steps outlined here doe I need to install another ROM? how do I maintain the stock ROM? and just apply only the root?
Churusaa said:
If you get read only errors, you may want to check out Radu Motisan's thread about how to "Write on the Android Read-only file system" on PocketMagic.net (sorry, can't post outside links yet. Just search for the quoted phrase on the aforementioned webpage to read the original post) Thank you Radu Motisan.
A brief overview:
CAVEAT! Please read.
On my MT3GS I had to enter the command to remount the rootfs as read/write a little differently to make it work with my #TEAMSLIDE Kanged CM6
The command was:
Code:
mount -o rw,remount rootfs /
My mount command didn't like the "-t" tag. Works just fine without it for me.
Click to expand...
Click to collapse
Does this work with a stock (unrooted) MTS3G? I don't have SU permissions, and even when using the aforementioned method you talked about, it still does not work
Keeps saying chmod /system :read only file system
TheArtiszan said:
First I want to thank all the developers here and I take no credit for this all i did was put together a full set of steps
Big thanks to nbetcher with help from ChiefzReloaded who ultimatley go the steps for the exploit needed and to 743c who developed the exploit
Following these steps from beginging to end will allow you to full obtain root and flash a new rom from begining to end. Follow each step and you will be good.
Easy root guide for the MyTouch slide currently any version downloads at bottom
Make sure before starting that the device has atleast 50% battery charge.
Go to C drive on pc and make a new folder we will call root
Copy then all the files from the zip into that folder.
___________________________________________________________
not required but you should also copy a rom that you want to use the the root of the sdcard on the device too then I have included teamfenix 1.7.1 as is a stable 2.2 android rom but you can use anyone you want.
___________________________________________________________
First we will need to get some files to the device would be easiest with a following settings already done:
settings > applications > development > USB debugging (check mark here)
settings > connect to pc > charge only
settings > wireless & networks > wifi unchecked (important)
settings > sound & display > screen timeout > never
Now connect device
Then start the command prompt and uses these commands to move the files we will need
cd C:\root
myroot (just allow to continue we covered the steps in it already)
Will take a few minutes for that to copy everything over to the places on the phone where we need them. will look like is frozen on ESPRIMG.zip that is normal don't interupt it just let it go.
when done we are now ready to actually get root and allow phone to let us get a recovery on there we can use with a few more commands
commands_______ things in () don't run just memos
adb shell
(should now see a $)
cd /sqlite_stmt_journals
chmod 0755 exploid
./exploid
(will have initated the loop hole to get root)
(at this time go to settings and turn wifi on and then back off before continuing)
./exploid
---The password is : secretlol
(You should now have a # instead of a $)
cd /data/local
chmod 04755 *
/data/local/flash_image misc /data/local/mtd0.img
_______________________________________________________________
ok now we are set to apply the engineering build to get a custom rom
Turn off the device
Press and hold volume down and then power up and hold both
let go when see the 3 skateboarding androids
give the phone a minute then will read the moded file on card
when is ready press volume up to apply this update
--- This will take a while just let it run
WAIT - when done it will ask you to reboot DON'T
press volume down for no
then back on bootloader screen press volume down once to highlight recovery and select with power to boot recovery
on the recovery you will have a device with a triangle
hold volume up and power for a second together
volume down and power to select for apply update.zip
and you will then be loaded into the clockwork recovery and will beable to flash the rom of your choosing from sd card.
You can use touch pad not to scroll down and select install zip from sd
select choose zip from sdcard
find your rom and apply
You are now rooted enjoy
needed files - http://www.4shared.com/file/J6i52nwy/slideroot.html
rom i use - http://forum.xda-developers.com/showthread.php?t=749312
Click to expand...
Click to collapse
Command promps aren't working. You say to follow these steps and it's easy, but the steps are incomplete, and you assume the reader knows what you mean. Please break it down a little more. For example in the command promp you say to type cd C:\root the it says myroot, what does that mean? It's not as easy as you think.
The whole thing falls apart around the time I try and flash ESPRIMG.zip. I get into bootloader and it just skips right on by ESPRIMG.zip with "no image found" and of course when flashing update.zip from the memory card in recovery it fails the signature and refuses to flash. I cannot get into clockwork for the life of me.
loganthered said:
The whole thing falls apart around the time I try and flash ESPRIMG.zip. I get into bootloader and it just skips right on by ESPRIMG.zip with "no image found" and of course when flashing update.zip from the memory card in recovery it fails the signature and refuses to flash. I cannot get into clockwork for the life of me.
Click to expand...
Click to collapse
Then you don't have the file ESPRIMG.zip on the root of your sdcard.
I've tried every root method for the slide and most of them worked but not without problems, this Root method is exactly down to the T, perfectly executed, no problems whatsoever. Thanks for everyone who helped make this happen and for the OP you made this super easy.
Did this on my first attempt, I was coming from stock with the OTA update and had no issues. Great job to everyone involved!
Sent from my rooted myTouch Slide using XDA app....
Video of the root...
Can someone please post a video of the rooting process? I'm deathly scared that I'm gonna mess something up and break my new phone. This is my first android phone and my first time rooting one. And in the video could you show how to get the Android SDK and how to get it ready to root? It would be soooo appreciated.
supermario12312 said:
Can someone please post a video of the rooting process? I'm deathly scared that I'm gonna mess something up and break my new phone. This is my first android phone and my first time rooting one. And in the video could you show how to get the Android SDK and how to get it ready to root? It would be soooo appreciated.
Click to expand...
Click to collapse
Perhaps you can try this guide which was written by a n00b, for n00bs. It consolidates a lot of details together and doesn't assume you already know about Android tools and hacking.
yea they should make a video....it would be a lot easier for us please!!!
is there anyway to get into clockwork and make a nandroid before applying the eng rom
i can't get my pc to find my mt3gs
c:\root>myroot
c:\root>clr
'clr' is not recognized as an internal or external command,
operable program or batch file.
"This is made for MyTouch 3G Slide with a combination of a few methods"
"Originally found at xda developers I did develop the exploit just made this sim
ple tutorial"
"At this point, your phone should be booted as normal and connected"
"Make sure of these things:"
"USB Debugging Enabled - Settings/Applications/Development"
"USB Connection Type - Charge Only (select on your notifications bar)"
"Wifi is currently turned off."
"Confirm that the screen on the device is set to never timeout."
"Press enter to begin the process"
c:\root>pause
Press any key to continue . . .
c:\root>clr
'clr' is not recognized as an internal or external command,
operable program or batch file.
"Please Wait...Initiating root setup to device and copying files this will take
a while"
c:\root>adb devices
List of devices attached
c:\root>adb push exploid /sqlite_stmt_journals
error: device not found
c:\root>adb push flash_image /data/local
error: device not found
c:\root>adb push mtd0.img /data/local
error: device not found
c:\root>adb push update.zip /sdcard
error: device not found
c:\root>adb push esprimg.zip /sdcard/ESPRIMG.zip
error: device not found
"follow the rest of the steps now"
c:\root>pause
Press any key to continue . . .
Your phone is not being recognized in adb mode. First try starting phone normally and go under settings to applications to development then check mark usb debugging pluf in device and give the pc a min
In c:/root run this
Adb devices
Should see device listed beneath. If not sounds like a driver is messed up. If this is the case I would first try and install pdanet on the computer as this should get us the right drivers. I assume you are running windows right?
Sent from my T-Mobile myTouch 3G Slide using XDA App

[GUIDE] How to install touchscreen fix

It's really about time somebody made a simple, easy and straight forward guide for installing mik_os's clever touchscreen kernal patch thing. I'm not android genius and really struggled to install this having no knowledge of how androids really work inside. Trying to figure out how to install the much needed touchscreen fix was a disaster but I finally got it right.
Due to a lack of simple and easy to follow guides I have made this one to help out other beginners, who like me didn't receive the help they need despite hours of google searches.
WARNING: If you do something wrong, or if something breaks while you are following this guide, I'm not responsible for any of your actions. Do this at your own risk.
The files provided are not my work and I take NO credit for them. They were created by clever people to help our lives
Credits:
kernal/touch screen bug fix: mik_os http://forum.xda-developers.com/showthread.php?t=929941
z4root : RyanZA http://forum.xda-developers.com/showthread.php?t=833953
Custom recovery: getitnowmarketing http://androidforums.com/getitnowma...ry-optimus-one-p500-thunderg.html#post1896517
Firstly this guide shows you how to root and then flash your phone with mik's fix. I'm not very good with androids but this worked and is pretty fault proof if you follow the steps. BEFORE BEGINNING MAKE SURE YOU HAVE FULL BATTERY!
1) Make sure you have Froyo 2.2. To check what version you have go to settings> about phone> android version. If you have 2.2.1 or something I really can't help you, do a bit of searching on how to downgrade. Explaining it will only complicate things if you are knew to androids like me.
2) Click this : http://forum.xda-developers.com/attachment.php?attachmentid=446145&d=1290341328
3) Save it to your computer, plug your phone into the USB port and copy the newly downloaded file onto it(by enabling mass storage device thing on your phone) and just pasting it in there not in any folder.
4) On your phone open the android market, search for Astro file manager. Choose to install it(wait for download and install to complete).
5)Open Astro File manager and locate the file you downloaded (z4Root by RyanZa) using astro (it'll be in the sd folder on its own). Select z4Root and install it and run it after installing.
6) Choose to permanently root your phone(this voids your warranty btw). Let it do its stuff, your phone will restart and you will be a super user! win.
7)Next download this:
http://www.mediafire.com/file/uf752h914q0u228/recovery-RA-GNM-thunderg-1.1.0.img.zip
and
http://www.mediafire.com/?45u0obd6pjj5twp
(Do not extract this file only the others)
and this
http://androidforums.com/attachment...ery-optimus-one-p500-thunderg-flash_image.zip and extract both of them into folders.
(thanks to getitnowmarketing for guidance at this point)
Next do one of the following two methods:
METHOD A(EASIER):
8)Download & install:
Google Chrome to phone(PC Google Chrome extension)
Google Chrome to phone(Phone app)
Terminal Emulator (Phone app)
9)Synchronize your Google account in Chrome to Phone(browser extension and phone app) and make a test by sending something to your phone(link,text).Make sure it's working.
10)After that open Terminal Emulator and type "su"(without quotes) and click yes when it's asking you for Superuser permission."#" will appear.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
11)From the commands list below copy every line (except red one) one by one and send it to phone.On phone paste all commands one by one,as you send them from Chrome, in Terminal Emulator.
Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock1 /system
cat /sdcard/flash_image > /system/bin/flash_image
chmod 755 /system/bin/flash_image
mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak
[COLOR="Red"][U](if it shouts at you here saying not found or something,ignore it)[/U][/COLOR]
mount -o remount,ro -t yaffs2 /dev/block/mtdblock1 /system
flash_image recovery /sdcard/recovery-RA-GNM-thunderg-1.1.0.img
reboot recovery
12)Wait a bit and your mobile/phone will turn off, hold in the down volume key and the home key. Keep them held in for a bit when the LG logo comes up.
Skip to step 16!
OR:
METHOD B
8) Now download this: http://dl.google.com/android/android-sdk_r09-windows.zip (windows) or http://dl.google.com/android/android-sdk_r09-linux_x86.tgz (linux) ,extract and install it.
9) Copy(with mass storage mode on) the FILES (and the one zip file that was downloaded from mediafire--> the other two things copied accross should not be zip files but instead individual files that have been extracted. ) to your SD card (not in any folder or anything, just in the main folder that opens when you open your SD card on your computer).
10) Turn off mass storage mode on your mobile (pull down the notification bar and click where it says USB Connected and make sure it is off).
11) Next go Settings>Applications>Development>Tick USB debugging (make sure it is on).
12) Next, on your computer press windows key + r, type cmd. Then type
cd <follwed by the address of the platform-tools folder in the sdk folder>
For example mine was (remember all lowercase):
c:\downloads\android-sdk_r08-windows\android-sdk-windows\platform-tools
so i typed :
cd c:\downloads\android-sdk_r08-windows\android-sdk-windows\platform-tools
13) A whole lot of writing should come up and stuff in the box you typing in (cmd prompt). Next type adb shell and then the word su. Your phone should ask if it should allow permission for super user, select allow or grant access or whatever it says on your phone.
14) Making progress. Next copy the following lines and go back into cmd prompt and right click in it and select paste. Do one line at a time into cmd prompt.
15)
Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock1 /system
cat /sdcard/flash_image > /system/bin/flash_image
chmod 755 /system/bin/flash_image
mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak
[B][U](if it shouts at you here saying not found or something,ignore it)[/U][/B]
mount -o remount,ro -t yaffs2 /dev/block/mtdblock1 /system
flash_image recovery /sdcard/recovery-RA-GNM-thunderg-1.1.0.img
reboot recovery
Wait a bit and your mobile/phone will turn off, hold in the down volume key and the home key. Keep them held in for a bit when the LG logo comes up.
16) You may back up if you want at this point by going to backup/restore (scroll using volume key and select it using the key on the very left of your phone at the bottom in the front). Choose nandroid backup and let it do its business).
17) Next get back to the mainscreen and select flash zip from sdcard. Select signed_kernal.zip and choose to let it flash. Let it do its business, go to the mainscreen, click reboot system now and you done. Your phone should restart happily with a much less cpu intensive touch screen!
hope this guide helps someone who had the same troubles as me.
Feel free to inform me of anything I may of left out
good work but all the commands can be entered using terminal emulator on phone itself..
thanks
I would much rather just use my pc to type the commands cause I can copy paste them nicely and I trust my pc more
ccdreadcc said:
good work but all the commands can be entered using terminal emulator on phone itself..
Click to expand...
Click to collapse
Best solution is Terminal Emulator + Chrome to phone.Very easy!
rosuvladut said:
Best solution is Terminal Emulator + Chrome to phone.Very easy!
Click to expand...
Click to collapse
If someone types that out I'll add it in (from getting the addon to accessing the terminal).
eichos said:
If someone types that out I'll add it in (from getting the addon to accessing the terminal).
Click to expand...
Click to collapse
Well,from step 8 using Terminal Emulator and Chrome to phone.
8)Download & install:
Google Chrome to phone(PC Google Chrome extension)
Google Chrome to phone(Phone app)
Terminal Emulator (Phone app)
9)Synchronize your Google account in Chrome to Phone(browser extension and phone app) and make a test by sending something to your phone(link,text).Make sure it's working.
10)After that open Terminal Emulator and type "su"(without quotes) and click yes when it's asking you for Superuser permission."#" will appear.
11)From the commands list below copy every line (except red one) one by one and send it to phone.On phone paste all commands one by one,as you send them from Chrome, in Terminal Emulator.
Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock1 /system
cat /sdcard/flash_image > /system/bin/flash_image
chmod 755 /system/bin/flash_image
mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak
[COLOR="Red"][U](if it shouts at you here saying not found or something,ignore it)[/U][/COLOR]
mount -o remount,ro -t yaffs2 /dev/block/mtdblock1 /system
flash_image recovery /sdcard/recovery-RA-GNM-thunderg-1.1.0.img
reboot recovery
12)Wait a bit and your mobile/phone will turn off, hold in the down volume key and the home key. Keep them held in for a bit when the LG logo comes up.
Skip to step 16!
You can update first post if you like it!
Nice...
What about WifiKeyboard? With this tool you can write on phone with keyboard on your PC. Also can be used for SMSs, emails, and so on.
even better and more easy to use copy/paste for emulator.
It works
Thank u for the tutorial. It really worked fine, using the wireless keyboard. 10x for the help and effort u put in this.
thanks for this tutorial.. it helped me a lot..
Actually I found easier with the sdk and windows dos terminal, but whatever ^^, this is a great guide, should have seen before
So are you sure this doesn't work in 2.2.1?
hey i was just wondering... since lg will be releasing gingerbread for the optimus one(p500), is there a way to be able to do this in the future with this setup? or have we given up all future updates from lg or otherwise for this custom kernel??
also i just got an error message when i copied in the first part of the terminal part. I comes up "cannot create /system/bin/flash_image: read-only file system"
Need help!!!
Edit: i found somewhere you had to type in the "mount" line before it all... and it seemed to have worked, hope i didn't break something :s
Edit 2: now i've run into another problem as your instructions seem to skip steps and information towards the end. this line in particaular:
17) Next get back to the mainscreen and select flash zip from sdcard. Select signed_kernal.zip and choose to let it flash. Let it do its business, go to the mainscreen, click reboot system now and you done. Your phone should restart happily with a much less cpu intensive touch screen!
Select flash zip? There is no flash zip anywhere mentioned besides here. could you please clarify or could anyone tell me what he means as im stuck on this part
cyanide911 said:
So are you sure this doesn't work in 2.2.1?
Click to expand...
Click to collapse
You can't root AFAIK on 2.2.1.
@hatethat:
is SU on?
hey sry i edited that post a number of times as not to spam posts... but yeah i got past all that stuff and am now stuck on step 17... i dont know where flash zip came from?
Edit: i went into the recovery mode adn it says "flash zip" there so i tried that and it worked fine ty anyway
HateThat said:
hey sry i edited that post a number of times as not to spam posts... but yeah i got past all that stuff and am now stuck on step 17... i dont know where flash zip came from?
Edit: i went into the recovery mode adn it says "flash zip" there so i tried that and it worked fine ty anyway
Click to expand...
Click to collapse
U need to download signed-kernel.zip and flash that
eichos said:
You can't root AFAIK on 2.2.1.
@hatethat:
is SU on?
Click to expand...
Click to collapse
Ah damn
Sent from my LG-P500 using XDA App
thank you good guide
I can`t find the Google Chrome to Phone (phone app) in the market, can anyone help me with it?
And of course in the pc market, my network provider won`t let me install it.
L.E.: finally i`ve found the app. Flashed the kernel, works like a charm. Thank you.

[HOW-TO] OpenVPN + FREE RaptorVPN service for the Nook Tablet - STOCK & CM7

WARNING: there is no warning lol you got scared eh ahah. I have tested this all day and my nook is running nicely like from the first day i rooted .
PLEASE FOLLOW THE TUTORIAL STEP BY STEP!!!​
<< INSTALLATION FOR STOCK >>
What do i need?
0. An Account at Raptor VPN and activate the account from your email
1. Root
2. BusyBox installed in /system/xbin
3. OpenVPN Installer (Download from Market)
4. OpenVPN Settings (Download from Market)
5. Download tun.ko for STOCK from here | md5: 6c3faeef60b11a024e78ae6e268aa605
6. Download the OpenVPN files needed to connect to RaptorVPN from here | md5: 3591efbe38420f432f0dec62982ad84d
7. A file explorer (ex. Root Explorer, ES file explorer, etc)
----------------------------------------------------------------------
Got it, what's next?
1. Open your file explorer, go to /system/lib and create a folder name it modules
2. Uncompress tun.zip and cut/move tun.ko to /system/lib/modules
3. Give tun.ko ALL read/ALL write/ALL execute permissions (means check all 9 check boxes) and change owner and group to root (if you don't know how to do that check this thread first)
4. Go to /system/xbin and create a folder, name it bb: /system/xbin/bb
5. Go back copy ifconfig and route files from /system/xbin to /system/xbin/bb
6. Open OpenVPN Installer it will detect that OpenVPN binary is not installed and ask permission to install, tap on the install button and choose to install it in /system/xbin.
OpenVPN also needs the path to ifconfig and route files which is provided by busybox. It will ask for the path and create symlinks, pick /system/xbin/bb.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
7. Go to /system/xbin and give openvpn ALL read/ALL write/ALL execute permissions and change owner and group to root.
8. Go to /sdcard and create a folder name it openvpn: /sdcard/openvpn
9. Uncompress raptorvpn.zip and copy all those files under /sdcard/openvpn
10. Open OpenVPN Settings and set it up like this: menu>> advanced
NOTE: spotflux.ovpn is down so use spotflux-alt.ovpn instead.
11. You should get a login icon in the notification bar now, if not the reboot your device. Once you get the notification icon login with your RaptorVPN username/password.
THAT'S IT - ENJOY!
----------------------------------------------------------------------
<< INSTALLATION FOR CM7 ALPHA12 & MIUI >>
What do i need?
0. An Account at Raptor VPN and activate the account from your email
1. OpenVPN Settings (Download from Market)
2. Download tun.ko for CM7 from here | md5:
3. Download the OpenVPN files needed to connect to RaptorVPN from here | md5: 3591efbe38420f432f0dec62982ad84d
4. A file explorer (ex. Root Explorer, ES file explorer, etc)
----------------------------------------------------------------------
Got it, what's next?
1. Open your file explorer, go to /system/bin and copy ifconfig and route files to /system/xbin
2. Uncompress cm7-2.6.35.7-TEAM-B_tun.zip and cut/move tun.ko to /system/lib/modules
3. Give tun.ko rw- r-- r-- permissions (means ALL read/top write) and change owner and group to root (if you don't know how to do that check this thread first)
4. Go to /sdcard and create a folder, name it openvpn: /sdcard/openvpn
5. Uncompress raptorvpn.zip and copy all those files within /sdcard/openvpn
6. Open OpenVPN Settings and set it up like this: menu>> advanced
7. You should get a login icon in the notification bar now. Once you get the notification icon login with your RaptorVPN username/password.
THAT'S IT - ENJOY!
Proof?
Troubleshooting
Q: I logged in from the notification icon but it shows conecting but doesn't go farther, why?
A: Did you enabled wifi? that must be it
Q: My wifi is not connecting, it keeps disconnecting, what should i do?
A: Go to OpenVPN settings and uncheck OpenVPN box so it will turn off OpenVPN, try again to connect to wifi you will get connected then enable OpenVPN again.
Q: How can I get a working US Amazon account?
A: Get a US billing address and credit card. If you don't have that you should generate the info from a site like this: Fake Name Generator(http://www.fakenamegenerator.com/
). Keep in mind though that you won't be able to buy anything with it, but you can download the free apps of the day.
Q: I modified my build.prop and the stock Hulu+ app does not work with it, how can i fix it?
A: Well you can't fix it, you will need to uninstall hulu+, reboot your device and install one from here that has been modified to work on most android devices.
NOTE: There are other good choices like DroidVPN (tested) speed is good too, but it is in beta, once it stops being beta it won't be free anymore, RaptorVPN is completely free and you can use it all you want.
Thanks to @heartrobber18 and @succulent for his .ko modules
~ Veronica
I went back to stock so i haven't tested in CM7 but it should work though, if someone could confirm would be appreciated!.
~ Veronica
Added a troubleshooting section.
~ Veronica
lavero.burgos said:
I went back to stock so i haven't tested in CM7 but it should work though, if someone could confirm would be appreciated!.
Click to expand...
Click to collapse
I could not get it to work.
Code:
insmod: can't insert '/system/lib/modules/tun.ko': invalid module format
Most likely due to being compiled for a different kernel. (2.6.35.7 versus 2.6.35.7-ge8ff105)
jeffml said:
I could not get it to work.
Code:
insmod: can't insert '/system/lib/modules/tun.ko': invalid module format
Most likely due to being compiled for a different kernel. (2.6.35.7 versus 2.6.35.7-ge8ff105)
Click to expand...
Click to collapse
oh i see, oh well then you guys will have to wait until CM7 gets tun.ko built in, the pro that you have is that cyanogenmod comes with a VPN settings.
~ Veronica
Unfortunately none of my modules load in CM7.
open vpn is working fine. verified by whatsmyip.net and showed different external ip. thanks. one question, is there a readme/link on how to add another entry to connect to l2tp or ppp server other than raptor? did a search and came up empty. looked in the /sdcard/openvpn entries but seemed configured for ssl and no info on how to change that. thanks.
---------- Post added at 08:19 PM ---------- Previous post was at 08:08 PM ----------
if your running ad blocking with adfree and blocked host names are set to 127.0.0.1 for adblock, is this used by the vpn and should I set adblock ip to something else?
rp201 said:
open vpn is working fine. verified by whatsmyip.net and showed different external ip. thanks. one question, is there a readme/link on how to add another entry to connect to l2tp or ppp server other than raptor? did a search and came up empty. looked in the /sdcard/openvpn entries but seemed configured for ssl and no info on how to change that. thanks.
Click to expand...
Click to collapse
The problem here is to find a service that work with an app supported by the nook talet stock, its easier in CM7 because it has its own vpn settings feature. so you have to play with VPN app - VPN service - free. BTW succulent updated his thread today with working .ko modules for CM7. If anyone want to test. Will update my OP now.
~ Veronica
UPDATE!
OP UPDATED with tun.ko module for CM7, should work now. @thanks to succulent
~ Veronica
lavero.burgos said:
OP UPDATED with tun.ko module for CM7, should work now. @thanks to succulent
Click to expand...
Click to collapse
The module works great.
I had to add a some symlinks for route and ifconfig in /system/xbin to get it to work with OpenVPN Settings and OpenVPN Installer but it now works like a champ. The symlinks might not be needed (depending on the OpenVPN Installer options) but I couldn't get it to work without adding them.
It detected the module but wouldn't go threw for me. Hangs at authorization. Anyone have this happen?
Sent from my BNTV250 using Tapatalk
Kionic said:
It detected the module but wouldn't go threw for me. Hangs at authorization. Anyone have this happen?
Sent from my BNTV250 using Tapatalk
Click to expand...
Click to collapse
Are using stock or CM7?
Sent from XDA premium using my Nook Tablet
I'm using cm7. It detects module but just stops at authorization. I thought it was my pass but I was able to sign in on raptor.
Sent from my BNTV250 using Tapatalk
Was following the steps using ES file explorer. But it seems file explorer can't change ownership of the .ko file? Wondering if I should proceed with the rest of the instructions anyway, or if it's possible to use adb to change ownership of the file.
Also, where on earth did u all get Root Explorer from, the market keeps telling me it isn't compatible with the Nook Tablet.
rcHumanz said:
Was following the steps using ES file explorer. But it seems file explorer can't change ownership of the .ko file? Wondering if I should proceed with the rest of the instructions anyway, or if it's possible to use adb to change ownership of the file.
Also, where on earth did u all get Root Explorer from, the market keeps telling me it isn't compatible with the Nook Tablet.
Click to expand...
Click to collapse
Go to the market and search for a file manager by rthyme software. It has a root explorer option in settings.
Sent from my BNTV250 using Tapatalk
rcHumanz said:
Was following the steps using ES file explorer. But it seems file explorer can't change ownership of the .ko file? Wondering if I should proceed with the rest of the instructions anyway, or if it's possible to use adb to change ownership of the file.
Also, where on earth did u all get Root Explorer from, the market keeps telling me it isn't compatible with the Nook Tablet.
Click to expand...
Click to collapse
Yes you can use ADB to change owner
adb shell chown root /system/xbin/openvpn
~Veronica
Sent from XDA premium using my Nook Tablet
Kionic said:
I'm using cm7. It detects module but just stops at authorization. I thought it was my pass but I was able to sign in on raptor.
Sent from my BNTV250 using Tapatalk
Click to expand...
Click to collapse
Uhmmm I don't know what might be if it you get auth then something must be wrong in the username/pass you type or restrictions in your router, firewall nat at work/home
~Veronica
Sent from XDA premium using my Nook Tablet
ifconfig and route files
Used adb command to change owner. File Manager didn't give me the option to change ownership.
Didn't find the ifconfig and route files in /system/xbin. Files were found in /system/bin. Was it just a typo on ur part or am i missing files?
I copied the ifconfig and route files over to /system/xbin/bb and tried to install openvpn, and the install fails.
I choose to install it in /system/xbin/ as per instructions, and allow superuser, then it asks me for the path to the ifconfig and route files. I choose /system/xbin/bb/ifconfig and it starts proceeding, but then the install fails. When I check the log, it mentions that /system is already mounted read-write. The log says copying openvpn to /system/xbin/openvpn. Then it tries to execute a su command but returns the error 'not found' and then says unable to chmod the /system/xbin/openvpn: no such file or directory
Should I just create the directory myself? Should I turn /system back to read-only before trying to install openvpn?
rcHumanz said:
Didn't find these files in /system/xbin
Files were in /system/bin. Was it just a typo on ur part or am i missing files?
Click to expand...
Click to collapse
Oh i see, im in stock 1.4.0 and the ifconfig and route files were in /system/xbin you can try use the path /system/bin, if it doesnt work in that path then you have copy them to /system/xbin and give OpenVPN installer the new path for those files: /system/xbin. For me (stock) is working fine within /system/xbin/bb. I want you CM7 guys try so i update OP with working setup for CM7.
~ Veronica
Here's the error log I'm getting when I try to install openvpn
Here's a shot of the error log that's been generated when I try to install openvpn on 1.4.1. Don't know what I'm doing wrong. I'm thinking about trying to run the commands from adb and do a manual installation of the binaries myself...

Can't copy twrp backup to PC

As title suggests I can't copy my nandroid backup folder contents from TWRP to my PC. Seems to be just the large data and system files that are around 1.3 gig each.
in windows 7 it never copied, no error. in windows 8 I receive an 'unspecified error' and it just stops.
I can copy other large files back and forth but just not these from my backup.
Any ideas?
Sent from my HTC One using Tapatalk 2
I have the same problem with my Galaxy Nexus... waiting for a solution .
terega said:
I have the same problem with my Galaxy Nexus... waiting for a solution .
Click to expand...
Click to collapse
Edit - Feature of TWRP 2.6. Encryption and permissions.
Currently only way to backup contents is to change permissions of the Backup folder contents, or boot phone back into recovery and do an an ADB pull.
I did ADB pull and that went fine.
gustav30 said:
Edit - Feature of TWRP 2.6. Encryption and permissions.
Currently only way to backup contents is to change permissions of the Backup folder contents, or boot phone back into recovery and do an an ADB pull.
I did ADB pull and that went fine.
Click to expand...
Click to collapse
Changing permissions didn't work for me at all... however, ADB pull did. Any other ideas to get this working again without having to use ADB pull?
This post in this thread is what worked for me to change permissions. Also more discussion about this in that thread.
http://forum.xda-developers.com/showthread.php?p=43453295
Sent from my HTC One using Tapatalk 4 Beta
gustav30 said:
This post in this thread is what worked for me to change permissions. Also more discussion about this in that thread.
http://forum.xda-developers.com/showthread.php?p=43453295
Sent from my HTC One using Tapatalk 4 Beta
Click to expand...
Click to collapse
Sweet! That worked. Thanks! I was trying 644, not 777.
Sorry to kind of hijack this thread, but I am having issues with trying to copy the backups using ADB. Whenever I am booted into TWRP my computer will not recognize the device as an ADB device. Running Windows 8 with the SDK/Google USB Drivers installed.
Permissions do not change via shell. ADB Pull permission denied. Mounted get "unspecified error". Cannot change permissions with Root Explorer.
I am rooted, ADB working, device connected, TF700t
Any help to backup my backup would be appreciated.
(This is what I did:
C:\Users\Chad\Desktop\Android SDK\sdk\platform-tools>adb shell
[email protected]:/ $ su
su
[email protected]:/ # chmod -R 777 /sdcard/TWRP
chmod -R 777 /sdcard/TWRP
[email protected]:/ # exit
exit
[email protected]:/ $ exit
exit
C:\Users\Chad\Desktop\Android SDK\sdk\platform-tools>adb pull /sdcard/TWRP/BACKU
PS c:/Users/Chad/Desktop
pull: building file list...
pull: /sdcard/TWRP/BACKUPS/015d29955a581616/first071613/recovery.log -> c:/Users
/Chad/Desktop/015d29955a581616/first071613/recovery.log
pull: /sdcard/TWRP/BACKUPS/015d29955a581616/first071613/boot.emmc.win.md5 -> c:/
Users/Chad/Desktop/015d29955a581616/first071613/boot.emmc.win.md5
pull: /sdcard/TWRP/BACKUPS/015d29955a581616/first071613/boot.emmc.win -> c:/User
s/Chad/Desktop/015d29955a581616/first071613/boot.emmc.win
pull: /sdcard/TWRP/BACKUPS/015d29955a581616/first071613/data.ext4.win.md5 -> c:/
Users/Chad/Desktop/015d29955a581616/first071613/data.ext4.win.md5
pull: /sdcard/TWRP/BACKUPS/015d29955a581616/first071613/data.ext4.win -> c:/User
s/Chad/Desktop/015d29955a581616/first071613/data.ext4.win
failed to copy '/sdcard/TWRP/BACKUPS/015d29955a581616/first071613/data.ext4.win'
to 'c:/Users/Chad/Desktop/015d29955a581616/first071613/data.ext4.win': Permissi
on denied
pull: /sdcard/TWRP/BACKUPS/015d29955a581616/first071613/system.ext4.win.md5 -> c
:/Users/Chad/Desktop/015d29955a581616/first071613/system.ext4.win.md5
pull: /sdcard/TWRP/BACKUPS/015d29955a581616/first071613/system.ext4.win -> c:/Us
ers/Chad/Desktop/015d29955a581616/first071613/system.ext4.win
failed to copy '/sdcard/TWRP/BACKUPS/015d29955a581616/first071613/system.ext4.wi
n' to 'c:/Users/Chad/Desktop/015d29955a581616/first071613/system.ext4.win': Perm
ission denied
7 files pulled. 0 files skipped.
2233 KB/s (8538070 bytes in 3.732s)
gustav30 said:
This post in this thread is what worked for me to change permissions. Also more discussion about this in that thread.
http://forum.xda-developers.com/showthread.php?p=43453295
Sent from my HTC One using Tapatalk 4 Beta
Click to expand...
Click to collapse
thanks a million.
sundoulos said:
Permissions do not change via shell. ADB Pull permission denied. Mounted get "unspecified error". Cannot change permissions with Root Explorer.
I am rooted, ADB working, device connected, TF700t
Any help to backup my backup would be appreciated.
Click to expand...
Click to collapse
I had this same problem for a while on my Nexus 4. I found this thread and tried to figure out what I was doing wrong. Turns out the adb pull doesn't work with the device booted up normally, as most adb commands do! Once I went into recovery and used adb there, everything transferred over. Hope it helps.
I want to know I have same problem but I just move the folder and went I try to use I only have the boot backup, that mean I don't have my backup?
Removed.
Hi,
I started having this issue on my Nexus 4 but I can't remember if it was after 4.3 update. I could not copy the large files from the TWRP folder through windows explorer, wifi pro, Nexus Toolkit or any other method with the mobile turned on.
Permissions were already to 777 and still nothing.
For me the pull command with the mobile into recovery mode did the job.
Thanks
orangeyes said:
Hi,
I started having this issue on my Nexus 4 but I can't remember if it was after 4.3 update. I could not copy the large files from the TWRP folder through windows explorer, wifi pro, Nexus Toolkit or any other method with the mobile turned on.
Permissions were already to 777 and still nothing.
For me the pull command with the mobile into recovery mode did the job.
Thanks
Click to expand...
Click to collapse
For me it was TWRP ver. 2.6. that prevented me from a PC transfer. An adb pull resolved the issue. I believe changing permissions has the potential of opening a can of worms later on.
Yes indeed it must be the TWRP update for me as wel that caused the issuel because I updated the TWRP before going into 4.3.
pjc123 said:
For me it was TWRP ver. 2.6. that prevented me from a PC transfer. An adb pull resolved the issue. I believe changing permissions has the potential of opening a can of worms later on.
Click to expand...
Click to collapse
orangeyes said:
Hi,
I started having this issue on my Nexus 4 but I can't remember if it was after 4.3 update. I could not copy the large files from the TWRP folder through windows explorer, wifi pro, Nexus Toolkit or any other method with the mobile turned on.
Permissions were already to 777 and still nothing.
For me the pull command with the mobile into recovery mode did the job.
Thanks
Click to expand...
Click to collapse
Hi,
Could you please explain what an Adb pull is and how I can do it ? I've never done it before and need some help. I use a Rooted Nexus 4 (4.3), with the latest version of TWRP (flashed the recovery only today).
veeravar said:
Hi,
Could you please explain what an Adb pull is and how I can do it ? I've never done it before and need some help. I use a Rooted Nexus 4 (4.3), with the latest version of TWRP (flashed the recovery only today).
Click to expand...
Click to collapse
Hello,
Assuming that you are in the same folder with the adb.exe (can be found in the sdk or standalone online) and have the proper drivers installed:
1) Reboot phone into recovery.
2) COnnect it to your PC. A driver installation will take place if this is the first time.
3) Hold shift in the folder with the adb.exe and select "open command window here"
4) Type
Code:
adb pull /mnt/sdcard/TWRP C:\
You can continue after the C:\ if you want to copy the files elsewhere. Also fi you get error of the type that the target is not found propably your backups are saved in another directory. You can easily get the complete location to them by going into the advanced options of TWRP and the use the file manager to browse to your backups. You will see the target directory on top.
Edit: Sorry I did not include what adb is. here you go http://developer.android.com/tools/help/adb.html
I think that's all :good:
Hi,
Thank you for that tutorial. I tried using the code you mentioned. I need to move the TWRP folder on my sdcard to the platform-tools folder on the D:/ on my pc. I executed the following code (with cmd opened in the platform-tools folder):
adb pull /sdcard/ twrp
Only 24.6mb of files are being pulled into the said folder. Whereas the actual size of the TWRP folder is 1.5gb. The phone is booted into TWRP recovery.
Could you please explain why this is happening? and it would be great if you tell me the code to execute if i want to copy the TWRP folder to a folder called ANDROID in my D drive.
nope not working.....it shows this when i boot my phone into TWRP recovery and did an adb pull
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
zixian96 said:
nope not working.....it shows this when i boot my phone into TWRP recovery and did an adb pull
Click to expand...
Click to collapse
Connected from recovery:
adb pull /sdcard/TWRP/BACKUPS C:\
Then wait for it to finish.

[GUIDE][ADB] Deodex ND7 NEW ROOT Users

Hey guys,
I know A LOT of the new users want to use mods and theme things now that they are newly rooted on ND7 4.4.2. So I was trying to think of a way to make it easier to do so, one being deodex. For us who are unlocked, we develop and theme mostly on deodex system's. So lets get to the guide.. This will make all your apps in system/app and system/priv-app Deodex, therefore you can theme them and head over to my Mods Thread and take advantage of them!
Prerequisites:
PC
Android SDK and/or ADB
USB cable
Patience
First make sure you have USB Debugging enabled on your device (Go into About Device in Settings, Find Build Number, Hit it 8 times until you unlock developer settings. Go into Developer Settings..Scroll down.. Enable USB debugging) Let make sure ADB is setup correctly and working.. Open a cmd prompt where you installed ADB (If SDK it should be C:\SDK\platform-tools\) type:
Code:
adb devices
Your return should look something like this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
If it does NOT look like this you need to either enable USB debugging, Grant the PC access to the phone or look up some guides on getting ADB started.
So once we know ADB works, lets download the zip I provided with the apps. These are pulled straight from ND7 Stock tar and Deodex by me, there should be no issues. I want you to extract them to your PC. Now lets make some folders on your internal sdcard(Use a root explorer/file explorer):
Folder names:
deodex_app
deodex_priv-app
Once you made the folders go ahead and copy the apps in their correct directory. App goes in deodex_app and Priv-app goes into deodex_priv-app.
When this is finished its time to start the ADB commands..
So we should already have our device connected and adb working with the return device serial number. Lets execute some cmds. After each line hit ENTER:
Code:
adb shell
su ([COLOR="Red"]MAKE SURE YOU GRANT SU PERMISSON!![/COLOR])
stop
mount -o rw,remount /system/ /system/
cp /sdcard/deodex_app/* /system/app/
rm /system/app/*.odex
cp /sdcard/deodex_priv-app/* /system/priv-app/
rm /system/priv-app/*.odex
mount -o ro,remount /system/ /system/
exit
exit
adb reboot
**BE SURE TO PAY ATTENTION TO YOUR COMMANDS...SPELLING AND SPACES ETC..
Once rebooted your device should update all apps..You should be Deodex and ready to do whatever your heart desires!!
Happy Theming! Any ?'s just post and ask! Want to learn how to Theme??? Head to this THREAD!!
PS: You want frameworks as well? Do this:
Download this zip, extract it, make a folder on your sdcard: deodex_frame. Copy unzipped contents to that new folder. Start ADB:
Code:
adb shell
su
stop
mount -o rw,remount /system/ /system/
cp /sdcard/deodex_frame/* /system/framework/
rm /system/app/*.odex
mount -o ro,remount /system/ /system/
exit
exit
adb reboot
Should update and be good to go! Enjoy!
@KennyG123 would mind making this sticky?? THANKS!
awesome, I've been using wanam xposed and love the outcome however there are still a few system ui errors. gonna try this and see what I get.
thanks
Sent from my SCH-I605 using Tapatalk
lacoursiere18 said:
Hey guys,
I know A LOT of the new users want to use mods and theme things now that they are newly rooted on ND7 4.4.2. So I was trying to think of a way to make it easier to do so, one being deodex. For us who are unlocked, we develop and theme mostly on deodex system's. So lets get to the guide.. This will make all your apps in system/app and system/priv-app Deodex, therefore you can theme them and head over to my Mods Thread and take advantage of them!
Prerequisites:
PC
Android SDK and/or ADB
USB cable
Patience
First make sure you have USB Debugging enabled on your device (Go into About Device in Settings, Find Build Number, Hit it 8 times until you unlock developer settings. Go into Developer Settings..Scroll down.. Enable USB debugging) Let make sure ADB is setup correctly and working.. Open a cmd prompt where you installed ADB (If SDK it should be C:\SDK\platform-tools\) type:
Code:
adb devices
Your return should look something like this:
View attachment 2945524
If it does NOT look like this you need to either enable USB debugging, Grant the PC access to the phone or look up some guides on getting ADB started.
So once we know ADB works, lets download the zip I provided with the apps. These are pulled straight from ND7 Stock tar and Deodex by me, there should be no issues. I want you to extract them to your PC. Now lets make some folders on your internal sdcard(Use a root explorer/file explorer):
Folder names:
deodex_app
deodex_priv-app
Once you made the folders go ahead and copy the apps in their correct directory. App goes in deodex_app and Priv-app goes into deodex_priv-app.
When this is finished its time to start the ADB commands..
So we should already have our device connected and adb working with the return device serial number. Lets execute some cmds. After each line hit ENTER:
Code:
adb shell
su ([COLOR="Red"]MAKE SURE YOU GRANT SU PERMISSON!![/COLOR])
stop
mount -o rw,remount /system/ /system/
cp /sdcard/deodex_app/* /system/app/
rm /system/app/*.odex
cp /sdcard/deodex_priv-app/* /system/priv-app/
rm /system/priv-app/*.odex
mount -o ro,remount /system/ /system/
exit
exit
adb reboot
**BE SURE TO PAY ATTENTION TO YOUR COMMANDS...SPELLING AND SPACES ETC..
Once rebooted your device should update all apps..You should be Deodex and ready to do whatever your heart desires!!
Happy Theming! Any ?'s just post and ask! Want to learn how to Theme??? Head to this THREAD!!
PS: You want frameworks as well? Do this:
Download this zip, extract it, make a folder on your sdcard: deodex_frame. Copy unzipped contents to that new folder. Start ADB:
Code:
adb shell
su
stop
mount -o rw,remount /system/ /system/
cp /sdcard/deodex_frame/* /system/framework/
rm /system/app/*.odex
mount -o ro,remount /system/ /system/
exit
exit
adb reboot
Should update and be good to go! Enjoy!
@KennyG123 would mind making this sticky?? THANKS!
Click to expand...
Click to collapse
So do you copy the the contents of deodex_app/app to deodex_app on the phone or do you copy the app folder itself to the phone
sergeptx said:
So do you copy the the contents of deodex_app/app to deodex_app on the phone or do you copy the app folder itself to the phone
Click to expand...
Click to collapse
Unzip it and there should be a /app and /priv-app folder.. Make a folders called deodex_app and deodex_priv-app on your sdcard.. open those folders and copy the contents(the actual apps) inside of those folders
lacoursiere18 said:
Unzip it and there should be a /app and /priv-app folder.. Make a folders called deodex_app and deodex_priv-app on your sdcard.. open those folders and copy the contents(the actual apps) inside of those folders
Click to expand...
Click to collapse
Thanks.... gonna try it
Could you just copy and paste using a root explorer as well
Sent from my SCH-I605 using XDA Free mobile app
dillonorden said:
Could you just copy and paste using a root explorer as well
Sent from my SCH-I605 using XDA Free mobile app
Click to expand...
Click to collapse
Nope..
Don't know what I did wrong but I'm stuck at the verizon boot logo...
Only thing I did different was created folders on internal storage on pc instead of using root browser on phone.
Nice write up lacoursiere18, worked like a charm. :good: thanks for the deodexed files
got the apps and priv-apps deodexed fine but, when I get to the part for framework the copy goes fine but when I do rm /system/app/*.odex it fails and says no .odex found. Should it be rm /system/framework/*.odex ??? Seems to have worked, don't see any odex files. Thanks for the write up!

Categories

Resources