update with latest cm10 ROM from Kalimochoaz (cm-10-FEATURED-crespo.v1.10.zip), the problem is solved. You can download all here
I’m testing Android Jelly Bean on my Nexus S running CyanogenMod 10.
The exact ROM is “cm-10-20120715-FEATURED-crespo.v0.6.zip”.
I’m getting this weird problem: if I disable USB debug, I cannot re-enable it.
I’m talking about the feature of Android which allows you to use adb from your pc.
The exact menu entry can be found under Settings -> Developer options -> Android debugging.
I managed to re-enable Android debugging with Tasker and the Secure Settings plugin.
Step by step procedure
I’m assuming you own a copy of Tasker, you have successfully installed Secure Settings and enabled the relative Helper. To do so you must have a rooted ROM like CyanogenMod.
I’m reporting here the steps I did:
Open Tasker
Go to “Tasks” tab
Create a new task with the green “+” button
Give the task a name (i.e. “Enable Debug”)
Add a new action
Choose “Plugin”
Choose “Secure Settings”
Choose “Edit”
Pick “USB Debugging” from the list
Activate the “On” state
Save with the floppy icon on the bottom
Now run your task in Tasker (you can use the “play” button)
Verify the state of the checkbox in the Android’s Settings menu
Blackrose is a powerful software. It can do a lot of things, but its most useful ability is to resize internal storage. On Nexus One you have to do so in order to install ROMs with greater size as… Ice Cream Sandwich (I’m preparing a guide).
Disclaimer
I AM NOT RESPONSIBLE IF YOU BRICK / RUIN YOUR PHONE IN ANY WAY.
BASIC COMPUTER SKILLS REQUIRED.
PROCEED WITH CAUTION.
Installing is safe, but using Blackrose can wipe out all your data. Proceed at your own risk. Make sure you backup all your data before proceeding.
Prerequisites (my situation)
pc with Ubuntu Linux 12.04 64bit
adb installed and working
USB cable
Nexus One data:
rooted device (probably not necessary)
ClockworkMod recovery installed (probably not necessary)
unlocked bootloader
HBOOT-0.35.0017 (other hboot are supported, see documentation)
run Blackrose (package contains an executable binary for GNU/Linux) cd blackrose_120421
chmod +x Blackrose
./Blackrose
Example output
First use (installation) -------------------------------
| Nexus One BlackRose 120421 |
| Made by Lecahel(XDA-dla5244) |
| Dok-Do belongs to KOREA |
-------------------------------
Do at your own risk
Don't flash any unsigned radio image
Don't flash eclair rom(eg.EPF30), if you are SLCD Nexus One user
If you are using sense rom, please install HTC Sync and turn off that now
Your N1(USB Debugging ON) should be connected to PC
If your device has already installed latest BlackRose, it will enter into BlackRose menu
Otherwise, BlackRose will be installed or updated automatically
* Waiting for device...
* daemon not running. starting it now *
* daemon started successfully *
* Getting device information...
0 KB/s (2 bytes in 0.040s)
0 KB/s (6 bytes in 0.039s)
0 KB/s (10 bytes in 0.040s)
0 KB/s (1 bytes in 0.040s)
* Installing BlackRose
1707 KB/s (4194304 bytes in 2.399s)
566 KB/s (26172 bytes in 0.045s)
970 KB/s (131072 bytes in 0.131s)
< waiting for device >
sending 'recovery' (4096 KB)... OKAY
writing 'recovery'... OKAY
sending 'hboot' (512 KB)... OKAY
writing 'hboot'... OKAY
rebooting into bootloader... OKAY
* BlackRose has been successfully installed if your HBOOT changed to 7.35.5017
Then your next execution will be as this: ./Blackrose
-------------------------------
| Nexus One BlackRose 120421 |
| Made by Lecahel(XDA-dla5244) |
| Dok-Do belongs to KOREA |
-------------------------------
1 Apply stock/custom BlackRose
2 Disable HBOOT flashing protect
3 Uninstall BlackRose
4 More information
5 Exit
Please make a decision:
I was connected to a LAN behind a proxy. When I tried to download something from github I got this error: fatal: unable to connect to github.com:
github.com: Name or service not known
I’m running latest Ubuntu desktop (12.04).
One way I found to bypass this problem is to create a git proxy wrapper.
Create the script i.e. ~/bin/git-wrapper.sh and configure the 2 variables according to your needs. My proxy is a local service which forwards my requests to the real LAN proxy. Local service is configured to listen on the 5865 port of my local (127.0.0.1) machine. #!/bin/bash
proxy_address=127.0.0.1
proxy_port=5865
nc -x$proxy_address:$proxy_port -X5 $*
export an environment variable $ export GIT_PROXY_COMMAND=~/bin/git-wrapper.sh
I found that the only reliable way to restore a stock ROM on this phone is SEUS.
SEUS stands for Sony Ericsson Update Service:
Update your phone for optimal performance and get the latest enhancements. Regardless if you have the latest software, it is a good routine to run Update Service to improve software stability. Also, if you experience problems with your phone this may be solved by a software update.
In the real world this piece of software can be used to restore the stock ROM. It takes care to download everything you need from Sony servers.
It’s a Windows software that was easily accessible from sony site, but now it’s quite hidden in their pages.
The direct url I found to download the software is this.
I hope it’s useful to you as it was to me.
By continuing to use the site, you agree to the use of cookies. more information
The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.