Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
leegoon84
Old
(Last edited by leegoon84; 10th February 2012 at 09:37 PM.)
#1  
Senior Member - OP
Thanks Meter 4
Posts: 208
Join Date: Jul 2006
Default [Q] Can't ADB while in CWM, needed for resizing the partition

FYI:

I have 2 CWMs for my NT,
1. app to flash CWM internally.
2. in the case where above is broken, 50mb SDCARD CWM method to boot up from SDCARD

I also have galaxy s i9000 and htc sensation.

the reason why I need ADB in CWM is because I want to resize the partition of my NT to increase the sdcard area from 1GB to 11GB.

but none of my 4 computers can detect NT in ADB shell.
Win7, Win764, WinXP system.
tried with uninstalling adb driver anddifferent port restart cable etc.
When I go "ADB SHELL" it returns device not found after starting the daemon.

I am certain that this is not an issue with my PC as I can connect my other phones, galaxy and sensation in ADB very easily while they are in CWM.
just like that connect and driver is detected automatically, and I can connect via ADB shell NP.

I have seen a couple of people on the forum who were successful in resizingg the partion in CWM via ADB shell,

Could anyone please advise on this?
Thanks.
 
roustabout
Old
#2  
Senior Member
Thanks Meter 132
Posts: 395
Join Date: Feb 2011
Instead of using CWM, you can use a bootable full nook OS disk with ADB enabled - I know Adam posted one. Copy parted to it and comment out the vold.fstab and vold.conf lines that mount /media and /sdcard so when it boots you don't get told you can't resize mounted devices.

I did it the fugly way, forced a hard reset by 8 failed boots to do the formatting and reinstall, and it worked.

I also had backups off-device of the first 7 partitions to restore from if I needed them, made via
dd if=/dev/block/mmcblkX of=img.X and then copied off-device so if I really hosed something I could roll back.
The Following User Says Thank You to roustabout For This Useful Post: [ Click to Expand ]
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...