Posts have been re-ordered, Look above.
Last edited:
The following tools are provided here, for linux(ubuntu 64bit binaries), windows and mac:
Q: What is cLK?
1.5.x (Experimental)
"recovery:5"
"misc:1"
"boot:5"
"userdata:0"
"system:150"
"cache:5"
And we want to change it to:1."recovery"
2."misc"
3."boot"
4."userdata"
5."system"
6."cache"
1."recovery"
2."misc"
3."boot"
4."cache"
5."system"
6."userdata"
"recovery:5"
"misc:1"
"boot:5"
"system:150"
"userdata:0"
"cache:5"
[U]Default partition table:[/U] recovery=5,misc=1,boot=5,system=150,userdata=0,cache=5
[U]Included recovery:[/U] CWM Recovery Touch Beta 8 Release Candidate 1
[U]ExtRom:[/U] Disabled
fastboot oem part-resize name:size:b
where size is in blocks
i.e. fastboot oem part-resize misc:9:b => will resize 'misc' part to 9 blocks
fastboot oem part-add name:size:b
where size is in blocks
i.e. fastboot oem part-add misc:8:b => will add 'misc' part with size 8 blocks (= 1MB)
[U]Default partition table:[/U] recovery=5,misc=1,boot=5,system=150,userdata=0,cache=5
[U]Included recovery:[/U] CWM Recovery Touch Beta 8 Release Candidate 1
[U]ExtRom:[/U] Disabled
fastboot flash lk lk.img
nbgen -b:lk.bin -o:lk.img
[U]Default partition table:[/U] recovery=5,misc=1,boot=5,system=150,userdata=0,cache=5
[U]Included recovery:[/U] CWM Recovery Touch Beta 8 Release Candidate 1
[U]ExtRom:[/U] Disabled
[U]Default partition table:[/U] recovery=5,misc=1,boot=5,system=150,userdata=0,cache=5
[U]Included recovery:[/U] CWM Recovery Touch Beta 8 Release Candidate 1
[U]ExtRom:[/U] Disabled
[U]Default partition table:[/U] recovery=5,misc=1,boot=5,system=150,userdata=0,cache=5
[U]Included recovery:[/U] CWM Recovery Touch Beta 8 Release Candidate 1
[U]ExtRom:[/U] Disabled
supported_boot_partitions[] =
{
{"boot",},
{"sboot"},
{"tboot"},
{"vboot"}, //no uboot :D
{"wboot"},
{"xboot"},
{"yboot"},
{"zboot"},
{""},
};
'fastboot oem key 8' ==> KEY_VOLUMEUP
'fastboot oem key 2' ==> KEY_VOLUMEDOWN
'fastboot oem key 5' ==> KEY_SEND
'fastboot oem key 0' ==> KEY_BACK
[U]Default partition table:[/U] recovery=5,misc=1,boot=5,system=150,userdata=0,cache=5
[U]Included recovery:[/U] CWM Recovery Touch Beta 8 Release Candidate 1
[U]ExtRom:[/U] Disabled
[U]Default partition table:[/U] recovery=5,misc=1,boot=5,system=150,userdata=0,cache=5
[U]Included recovery:[/U] CWM Recovery Touch Beta 8 Release Candidate 1
[U]ExtRom:[/U] Disabled
[U]Default partition table:[/U] recovery=5,misc=1,boot=5,system=150,userdata=0,cache=5
[U]Included recovery:[/U] CWM Recovery Touch Beta 8 Release Candidate 1
[U]ExtRom:[/U] Disabled
[U]Default partition table:[/U] recovery=6,boot=5,misc=1,system=150,userdata=0,cache=5
[U]Included recovery:[/U] CWM Recovery Touch Beta 8 Release Candidate 1
[U]ExtRom:[/U] Disabled
[U]Default partition table:[/U] recovery=6,boot=5,misc=1,system=150,userdata=0,cache=5
[U]Included recovery:[/U] CWM Recovery Touch Beta 8 Release Candidate 1
[U]ExtRom:[/U] Disabled
[U]Default partition table:[/U] recovery=6,boot=5,misc=1,system=150,userdata=0,cache=5
[U]Included recovery:[/U] CWM Recovery Touch Beta 8 Release Candidate 1
[U]ExtRom:[/U] Disabled
[U]Default partition table:[/U] recovery=6,boot=5,misc=1,system=150,userdata=0,cache=5
[U]Included recovery:[/U] CWM Recovery Touch Beta 8 Release Candidate 1
[U]ExtRom:[/U] Disabled
[U]Default partition table:[/U] recovery=6,boot=5,misc=1,system=150,userdata=0,cache=5
[U]Included recovery:[/U] (a)CWM Recovery Touch Beta 8 Release Candidate 1 Or (b)TWRP 2.2.2.0 with new zImage (patched tytung's latest GB-kernel)
[U]ExtRom:[/U] Disabled
- Cedesmith
sudo apt-get update
sudo apt-get install gcc make git wget unzip zip libc6-dev-amd64 libc6-dev
yum install gcc make git wget unzip zip
git clone git://github.com/cedesmith/cLK.git
wget http://www.codesourcery.com/sgpp/lite/arm/portal/package5353/public/arm-none-eabi/arm-2009q3-68-arm-none-eabi-i686-pc-linux-gnu.tar.bz2
tar xvfj arm-2009q3-68-arm-none-eabi-i686-pc-linux-gnu.tar.bz2
export PATH=$HOME/clk/arm-2009q3/bin:$PATH
cd cLK
./compile clean
bin/RUU_signed.nbh
git clone git://github.com/cedesmith/cLK.git
wget http://www.codesourcery.com/sgpp/lite/arm/portal/package5354/public/arm-none-eabi/arm-2009q3-68-arm-none-eabi-i686-mingw32.tar.bz2
tar xvfj arm-2009q3-68-arm-none-eabi-i686-mingw32.tar.bz2
wget http://htc-flasher.googlecode.com/files/yang-1.1_win32.zip
cd cLK/bin
rm -rf yang
mkdir yang
unzip ../../yang-1.1_win32.zip yang/yang.exe
mv yang/yang.exe .
cd ..
sed -i s/yang/yang.exe/g compile
export PATH=$HOME/arm-2009q3/bin:$PATH
cd cLK
./compile clean
bin/RUU_signed.nbh
This has been already been mentioned in the other thread, He will not provide it, and it was taken apparently by hacking out the radio code.
I think a few people have asked the question, and there is no chance that he will provide his code, this is a similar issue that people are having where Cotulla is developing magldr on other devices, it is all closed-source.
FYI, cedesmith may have said that he was going to do it in the early days when he was doing cLK, but when he had discussions with cotulla, and him not providing the code, and how it was working, he decided not to try to implement even if he could.
this is the first time I have ever tried to compile a kernel. I know sdk pretty well but compiling this kernel and the directions that have been provided are confusing to me.
Step 3: Compile cLK
Now you can compile by running the following command
Code:
export PATH=$HOME/arm-2009q3/bin:$PATH
cd cLK
./compile clean
I have entered these in Cygwin the first line I am a little lost on? I entered export c:/cygwin/home/HD2/cLK=$HOME/arm-2009q3/bin:$c:/cygwin/home/HD2/cLK
i get bash: export: c:/cygwin/home/HD2/cLK=$HOME/arm-2009q3/bin:$c:/cygwin/home/HD2/cLK
/cLK' not a valid identifier
I have no idea what that means can anyone help?
I was having problem with my NAND Android phone with MAGLDR bootloader. The problem was my phone is unreachable while it is screen off/sleep mode. There is no problem when the screen is on. I tried different versions of Android with all the recommended settings. There is an exemption for Windows 7 mobile, it was OK even when in sleep mode. Two days ago I started using CLK boot loader, and I never had this problem again. To confirm I tried various versions of android including doubleshot and kingdom with sense 3. The only problem I think is the unstable PPP internet connection. MAGLDR was good with its RMNET connection.
Anybody else observed this? Any comments or advise?
"recovery:5"
"misc:1"
"boot:5"
"userdata:0"
"system:150"
"cache:5"
And we want to change it to:1."recovery"
2."misc"
3."boot"
4."userdata"
5."system"
6."cache"
1."recovery"
2."misc"
3."boot"
4."cache"
5."system"
6."userdata"
"recovery:5"
"misc:1"
"boot:5"
"system:150"
"userdata:0"
"cache:5"
[U]Default partition table:[/U] recovery=5,misc=1,boot=5,system=150,userdata=0,cache=5
[U]Included recovery:[/U] CWM Recovery Touch Beta 8 Release Candidate 1
[U]ExtRom:[/U] Disabled
fastboot oem part-resize name:size:b
where size is in blocks
i.e. fastboot oem part-resize misc:9:b => will resize 'misc' part to 9 blocks
fastboot oem part-add name:size:b
where size is in blocks
i.e. fastboot oem part-add misc:8:b => will add 'misc' part with size 8 blocks (= 1MB)
[U]Default partition table:[/U] recovery=5,misc=1,boot=5,system=150,userdata=0,cache=5
[U]Included recovery:[/U] CWM Recovery Touch Beta 8 Release Candidate 1
[U]ExtRom:[/U] Disabled
fastboot flash lk lk.img
nbgen -b:lk.bin -o:lk.img
[U]Default partition table:[/U] recovery=5,misc=1,boot=5,system=150,userdata=0,cache=5
[U]Included recovery:[/U] CWM Recovery Touch Beta 8 Release Candidate 1
[U]ExtRom:[/U] Disabled
[U]Default partition table:[/U] recovery=5,misc=1,boot=5,system=150,userdata=0,cache=5
[U]Included recovery:[/U] CWM Recovery Touch Beta 8 Release Candidate 1
[U]ExtRom:[/U] Disabled
[U]Default partition table:[/U] recovery=5,misc=1,boot=5,system=150,userdata=0,cache=5
[U]Included recovery:[/U] CWM Recovery Touch Beta 8 Release Candidate 1
[U]ExtRom:[/U] Disabled
supported_boot_partitions[] =
{
{"boot",},
{"sboot"},
{"tboot"},
{"vboot"}, //no uboot :D
{"wboot"},
{"xboot"},
{"yboot"},
{"zboot"},
{""},
};
'fastboot oem key 8' ==> KEY_VOLUMEUP
'fastboot oem key 2' ==> KEY_VOLUMEDOWN
'fastboot oem key 5' ==> KEY_SEND
'fastboot oem key 0' ==> KEY_BACK
[U]Default partition table:[/U] recovery=5,misc=1,boot=5,system=150,userdata=0,cache=5
[U]Included recovery:[/U] CWM Recovery Touch Beta 8 Release Candidate 1
[U]ExtRom:[/U] Disabled
[U]Default partition table:[/U] recovery=5,misc=1,boot=5,system=150,userdata=0,cache=5
[U]Included recovery:[/U] CWM Recovery Touch Beta 8 Release Candidate 1
[U]ExtRom:[/U] Disabled
[U]Default partition table:[/U] recovery=5,misc=1,boot=5,system=150,userdata=0,cache=5
[U]Included recovery:[/U] CWM Recovery Touch Beta 8 Release Candidate 1
[U]ExtRom:[/U] Disabled
[U]Default partition table:[/U] recovery=6,boot=5,misc=1,system=150,userdata=0,cache=5
[U]Included recovery:[/U] CWM Recovery Touch Beta 8 Release Candidate 1
[U]ExtRom:[/U] Disabled
[U]Default partition table:[/U] recovery=6,boot=5,misc=1,system=150,userdata=0,cache=5
[U]Included recovery:[/U] CWM Recovery Touch Beta 8 Release Candidate 1
[U]ExtRom:[/U] Disabled
[U]Default partition table:[/U] recovery=6,boot=5,misc=1,system=150,userdata=0,cache=5
[U]Included recovery:[/U] CWM Recovery Touch Beta 8 Release Candidate 1
[U]ExtRom:[/U] Disabled
[U]Default partition table:[/U] recovery=6,boot=5,misc=1,system=150,userdata=0,cache=5
[U]Included recovery:[/U] CWM Recovery Touch Beta 8 Release Candidate 1
[U]ExtRom:[/U] Disabled
[U]Default partition table:[/U] recovery=6,boot=5,misc=1,system=150,userdata=0,cache=5
[U]Included recovery:[/U] (a)CWM Recovery Touch Beta 8 Release Candidate 1 Or (b)TWRP 2.2.2.0 with new zImage (patched tytung's latest GB-kernel)
[U]ExtRom:[/U] Disabled
[U]Default partition table:[/U] recovery=6,boot=5,misc=1,system=150,userdata=0,cache=5
[U]Included recovery:[/U] Extended TWRP 2.4.1.0.r1
[U]ExtRom:[/U] Disabled
[U]Default partition table:[/U] recovery=6,boot=5,misc=1,system=150,userdata=0,cache=5
[U]Included recovery:[/U] Extended TWRP 2.4.1.0.r1
[U]ExtRom:[/U] Disabled
RAMDISK_ADDR := "(BASE_ADDR+0x01000000)"
SCRATCH_ADDR := "(BASE_ADDR+0x02000000)"
[U]Default partition table:[/U] recovery=6,boot=5,misc=1,system=150,userdata=0,cache=5
[U]Included recovery:[/U] Extended TWRP 2.4.1.0.r2
[U]ExtRom:[/U] Disabled
[U]Default partition table:[/U] recovery=8,boot=5,misc=1,system=150,userdata=0,cache=5
[U]Included recovery:[/U] Extended TWRP 2.4.4.0.r1
[U]ExtRom:[/U] Disabled
[U]Default partition table:[/U] recovery=8,boot=5,misc=1,system=150,userdata=0,cache=5
[U]Included recovery:[/U] Extended TWRP 2.5.0.3
[U]ExtRom:[/U] Disabled
The following tools are provided here, for linux(ubuntu 64bit binaries), windows and mac:
Q: What is cLK?