Sent from my HTC HD2 using XDA Premium App
rick, you've worked on 188.8.131.52 and added your stuff? sounds very nice; also dan1j3l's version with sboot ah, dan1j3l: sry, for "what the heck" and my reaction in general this wasn't meant offensive to you; i was mad because of RL and wrote a little bit too aggressive sry again!
If you can make a way to flash recovery without the need of a PC it will be perfect.I mean a way to be in windows mobile,rename clk to leoimg.nbh flash it from sd card and then flash a cwm rom and vice versa to wm it will be awesome.
Sent from my Liquid MT using Tapatalk
Source will be released as soon as i feel that the work is stable enough to be released, i dont want to release unfinished work.
In a way, no. my work is based on lk from codeaurora forums (rewrite up/remodel of cLK) for bootmenu and few other things to work as they should have.
The bootscreen is on always except for when you press
Vol up - lk Boot menu
Vol dn - SPL boot menu
Win key- Verbose Boot (if you cannot boot, this might be useful if no logcat comes up)
Back key -Fastboot mode
Actually no, during offmode charging, your phone boots into recovery, To confirm this, power off your phone and charge it through pc, then enter "adb reboot" in cmd and have a look at your phone. So we will have to modify recovery sourcecode to restart the device on longpress of power button when launched with offmode charging cmdline. so that is not related to cLK, I hope seaderson and arif will look into this as they are the ones currently mantaining CWR for LEO. Although there are som NATIVE android phones which provide offmode charging in quite similar way, i have no idea on how they deal with the said problem and the keypad lights.
Also i was wondering what if we do task 29, install cLK and connect device to power when its off :s
LK has its own poweroff mode charging but due to some unknown reason cedesmith has disabled it, i guess the code is incomplete/unstable.
This is what cedesmith replied to me-
"from what i remember target_battery_charging_enable(1, 0); does not work properly (i can't remember reason) tho i may be wrong.
to power off the device just look in kernel source code."
"I went for recovery charging because kernel already has a driver for charging.
If off mode charging is to be implemented in clk i guess that driver needs to be ported.
I guess charging control is implemented on modem(radio) so it probably work over RPC tho i have no clue on how to do that."
The worse part was rewrite up for LEO and updating the msm power management code, got a LOT of help from cedesmith, irc logs and cotulla
I am trying to make a bootloader for LEO which will make it next to a native device, remodel lk to represent hboot while keeping the goodies from cLK and MAGLDR.
The only thing i cannot promise is working RMNET, it is very dangerous and can brick the device if done incorrectly.
My next progress in list is:
1) True Dual boot like MAGLDR, not using the sboot partition on NAND, (if i fail, dan1j3l is always there )
2) Cosmetical changes to make it look like hboot
3) Code optimisation
4) Code cleanup
5) Release source code
if i have more time, try for WP7 booting and at last research RMNET.
supporting WM6.5 is not ideal as the OS is next to dead and you can already dualboot it using Haret and other software.
I am a Computer sciences student and do this for knowledge, not for thanks or donations, so please dont even ask me my paypal id etc.. btw i dont even have one
yes, im thinking of doing that, but what my current implementation is far from perfect, as of now if there is an "update" partition in sdcard, the file is flashed to the partition which has the same name as the file.
so if we place a new recovery.img and rename it to recovery and put it into that sdcard 'update' partition, it will flash that to recovery.
Now i need to find out how to read it from normal FAT partitions on our sdcards, another big problem might be setting the block size as different people format their cards with different block size.
Really great work.
I think the only way why cedesmith doesn´t implement charging direkt to clk would be that we have to port batterymonitor driver from kernel direkt to CLK.
So we use kernel to charge and check status inside CWR !
I implement batterymonitorcode and powermanagement inside CLK , have to optimize because CLK doesn´t readout it correct, seems to be a I2C Problem !
Another thing I have done is buying JTAG for direct debugging.
Would figure out what cotulla write at startup to RADIO Part so we could dump and write little handler to optimize RMNET !!!!
Hope in near of future i know much more about HD2 inside =)
|1.5, bootloader, clk, hd2, little kernel|
|Thread Tools||Search this Thread|