[18/06/2012][ROM]photonic CM 7.2 - 2.6.35

Search This thread

liorderei

Senior Member
Apr 14, 2011
461
93
36
OnePlus 8
hi schlund,
thank you for everything!!! ur doing a great job and you make alot of people extremely happy!! :)

i have a really *big problem*

when i connect to fastboot and running the bootloader.bat through my computer, it looks like it starts to transfer files but then suddenly my computer reboots itself without any warning or anything.

it happens in my laptop too!

in both i have win xp pro and i used the same adb driver..
i tried to update the driver to the 1 you published but when i choose it it says the computer cant find a better driver then the one already installed...

and i don't have the original htc cable so it might be that..

so it can be either because my driver is wrong or either because of my cable
i really hope u can help me and i appreciate it alot
 
Last edited:

schlund

Senior Member
Nov 25, 2010
457
1,064
that sounds very strange :/
was adb working before ? the phone should reboot, not your computer :p, if computer is rebooting it must be some hardware error, especially with the drivers. if your still having problems i recommend to download android sdk and download drivers with that tool. i can't believe its a cable problem, that usb cables are too simple.
 
  • Like
Reactions: draltus

milan7171

Senior Member
Aug 28, 2011
66
13
this version is great,battery and gps and wifi and keypad light(fix) is very good working.
what about hd video and audio and cut screen?are you working on?
and thanks for your efforts,i hope you successfull.
 

liorderei

Senior Member
Apr 14, 2011
461
93
36
OnePlus 8
thanks for the fast reply!! :)
i installed htc sync and it actually succeed to uninstall the old driver..i installed yours, but it still crash..

and i never tried to use the adb before..

ill try to download andriod sdk and see what happens..i really want to use your nand version :(

edit:it couldnt be because of the sd card could it?
 
Last edited:

schlund

Senior Member
Nov 25, 2010
457
1,064
no, i'm pretty sure sd-card is not the problem,
one thing you can also try (helped me a lot of times when having problems with usb driver): Try another usb port of your computer!

another question: have you ever been able to use some software for your phone on one of the computers ? like flashing shipped ROMs or costum ROM's with SSPL or sync via windows software ?
 
Last edited:

old.splatterhand

Recognized Contributor
Nov 4, 2010
3,985
2,215
Saturn III
HTC One (M8)
Android Wear
For everyone with driver problems, try to use android sdk too. It brings seperate drivers from google.

Thank you schlund, for this excellent Version. Working really good for me (as long as i can say in this short time of testing).

One problem i have faced:
When i plug my phone to pc and use it as mass drive to copy files it lose connection as soon as the screen is going off. When i push the screen to stay on, connection stays.
Anyone who can confirm?
 
Z

zaichik

Guest
Is it intended that adb (shell,logcat...) is not working after screen off?

I/power ( 187): *** set_screen_state 0
D/Sensors ( 187): BMA disabled
D/SurfaceFlinger( 187): About to give-up screen, flinger = 0xfc2c0
here adb freezes

I expirenced quite big battery drain last night (30% in 5 hours) its possible that ILWT oc daemon caused this. I removed it today so hopefully it will be better now.


anyway thanks for your great work schlund.

@marco1530
WiFi works. Please make sure that you did everything correctly from instructions provided by schlund. if youre 100% sure you did please try to give more specific info on your problem. Is there an error? Are you sure your router is configured correctly?
 
Last edited:

marco1530

Senior Member
Nov 4, 2009
144
129
I had the version where only the wifi worked. I went to upgrade and wifi was not telling me error. I haven't done a hard reset will depend on this?

Sorry my bad english
 
Z

zaichik

Guest
You had different NAND rom before? if so you need to flash new bootloader (it fixes wifi).
Do all steps from schlund's guide.
 

marco1530

Senior Member
Nov 4, 2009
144
129
you've had a version before this ^ ^ nand what should I do? thank you for the support ^ ^
 

brontolo999

Senior Member
Jul 31, 2007
157
4
[*]ARM11 not going to suspend and causing battery drain PUBLIC-TESTING

Please someone point out the battery performance?

Hi schlund,
thanks for the great work you have been doing so far...

I would get some more information battery drain, namely:
1.. how long does the battery last?
2.. are there some apps reducing battery drain? do these apps really work??
3.. is the battery drain better in NAND version with respect to SD version?

Thanks for your support

---------- Post added at 11:26 AM ---------- Previous post was at 11:20 AM ----------

  • ....
  • Audio via Bluetooth
  • ....

I would ask for a fix for Audio via Bluetooth.... it's absolutely useful for safety while driving...

I hope you all agree with that :)

thanks (again & again!!)
 

schlund

Senior Member
Nov 25, 2010
457
1,064
First of all: I have updated links in 1st post and added a mirror!

Hi schlund,
thanks for the great work you have been doing so far...

I would get some more information battery drain, namely:
1.. how long does the battery last?
2.. are there some apps reducing battery drain? do these apps really work??
3.. is the battery drain better in NAND version with respect to SD version?

Thanks for your support

Hi!
1. i dont know, if i would test that every time i make changes it would take ages to create a release :/ i have to trust smaller timelines with the battery driver, that really needs an update. its very inaccurate. I think i will continue there.
2. what i can confirm that it really helps is when you go to Settings->Cyanogenmod->...CPU_Goverment and enable the standard settings on boot.
3. should be about the same, nand could be a bit better cause its not running from that fast ext3 filesystem from sdcard and runs that "soft and secure" yaffs2 filesystem from nand instead.
 
  • Like
Reactions: quimet7 and Ciccius

Top Liked Posts

  • There are no posts matching your filters.
  • 102
    photonic CM 7.2

    What is Photonic ?

    Photonic is a unofficial port of Cyanogenmod, almost AOSP Version 2.3.7 - photonic kernel 2.6.35 Changes are minimal, sources are open. For further information visit github or official Cyanogenmod on the web!

    Sources are written to support NAND Boot (a replacement of Winmobile ROM incl. bootloader & recovery system) and SD-CARD Boot (classic boot from winmobile via haret)


    - Current Status -

    bugged/not working:
    these will be fixed in later releases


    • HQ/HD Video Playback
    • Video Recording
    • Audio via Bluetooth
    • FM Radio (Neither Headset nor Speaker)
    • Headset Stereo

    what should be fixed before next release:
    when list is finished next release will be uploaded

    • Battery driver (started but not finished)

    History
    18/06/12 - r10

    • Bootloader with new Partition-layout: Increases Phone Storage Size DONE!
    • Cut screen DONE! by derefas
    • update to latest official CM7 sources
    • ARM11 not going to suspend and causing battery drain DONE!
    • WIFI Stability and Tethering DONE!

    23/01/12

    • Rewritten wifi_nvs driver to get device specific calibration data and real mac address on NAND DONE!
    • GPS driver DONE!
    • Hundrets of lines of unlisted fixes like several clock, dsp, audio, data transfer, wifi, bt and code fixes DONE!

    downloads:
    (feel free to link to the downloads, but please DO NOT MIRROR! If you're having problems with downloading the files ASK ME!)

    NAND-Boot:

    1. Files for SD-Card - (needed to boot into fastboot to flash lk for the first time)
    2. Files for PC - (contains new bootloader&recovery, fastboot and drivers)
    3. Update.zip file - (is the main build file)
    3. latest GAPPS - (Google Apps like Market etc.)
    SD-Boot:
    not updated to r10, yet

    EXPERIMENTAL UPDATES:



    - Credits -
    cotulla - for his initial 2.6.29 kernel port
    Alexander Tarasikov - for his initial lkbootloader
    the whole xda-photon people for the common project

    - Disclaimer -
    This product is free to use at your own risk. We take no
    responsibility for any conflict, fault, or damage caused by
    this unlocking procedure. No warranties, implied or otherwise, are given if you agree to use this product.
    No problems were found while testing this product on several different devices, your experience may vary.
    53
    Instructions for a clean! Installation: NAND-BOOT
    This procedure will wipe all your data! So backup your content before you continue!

    STEP 1: Installing LK Bootloader & Recovery
    (If you have already installed a NAND version, you can skip the haret boot part, but it is very important to flash the new bootloader from lk-photonic-pc-r10.rar!! It contains important changes for wifi calibration!)
    1. Download all files for NAND (see downloads)
    2. Extract lk-photonic-pc-r10.rar to somewhere on your PC
    3. Copy cm-7-20120618-UNOFFICIAL-photonic-r10.zip, the GAPPS file and the content of lk-photonic-sd.rar archive to the root of your sdcard and run HaRET from your device
    4. The device should boot to the fastboot prompt. Connect the USB cable
    5. If your connecting your phone for the first time to your pc you may have to install drivers from the folder you have just extracted.(See also here) You can see it in your windows notification bar if you were sucessful. Be sure to have already run haret and already being in fastboot console on the device when installing drivers! If you are sill having problems to connect to the device via fastboot try installing HTC Sync (from htc website)
    6. Enter the Fastboot-folder on your pc (the one you have extracted) and run start-photonic.bat
    7. Choose Option "1" to flash Bootloader AND Recovery. The Batchfile will lead you. (Choosing CWM Recovery is recommended)
    8. If everything went fine choose Option "4" to reboot your deivce, now on HTC Bootscreen press and hold "Volume up" until you have entered the Recovery

    STEP 2: Installing the build
    (Once entered CWM Recovery you can control the menu with vol-up and down buttons, power button=enter)
    1. First, go to "mounts and storage"-menu and Unmount any partitions that can be unmounted (most likely, cache)
    2. Next, in "mounts and storage"-menu, format System, Data, Cache and Boot partitions
    3. Next, go to recovery main menu and select install zip from sdcard, then select choose zip from sd card
    4. Choose the cm-7-20120618-UNOFFICIAL-photonic-r10.zip
    5. Once done do the same to install GAPPS
    6. Select reboot system now
    7. Get some coffee and wait for the device to finish the first boot
    8. Hopefully your are done now and should see the setup wizard!
    9. Feel free to remove any of the files from SD-Card now, they are not needed anymore

    Instructions to UPDATE from a previous Photonic Release
    This should keep your old photonic data
    These Instructions are related to the previous one!
    1. DOWNLOAD cm-7-20120618-UNOFFICIAL-photonic-r10.zip, GAPPS and lk-photonic-pc-r10.rar
    2. Extract lk-photonic-pc-r10.rar to somewhere on your PC
    3. COPY the update-zip and GAPPS to your SD-CARD
    4. Boot into CWM Recovery: While in Android press and hold "Power" Button, choose "Restart", then choose "Recovery". Device will reboot in Recovery now. You can also simply boot up the device and hold "Volume up" button when HTC logo appears.
    5. Choose Option "Backup and Restore" and let it do a full Backup.
    6. Reboot the device and press "Volume down" to enter Fastboot mode
    7. Run start-photonic.bat on your PC from the folder you have it extracted to
    8. Choose Option "1" and install new Bootloader and Recovery and follow instructions
    9. When finished reboot and enter Recovery again with holding "Volume up" when HTC logo appears
    10. Format boot, cache, system and data partition im "mounts & storage"
    11. choose "backup and restore" again, but NOW you restore your previously saved backup!
    12. Next, go to recovery main menu and select install zip from sdcard, then select choose zip from sd card
    13. Choose the cm-7-20120618-UNOFFICIAL-photonic-r10.zip
    14. Once done do the same to install GAPPS
    15. Reboot the phone and be happy with the Update!

    Installation Instructions for SD-BOOT

    1. Download file for SD-Boot (see downloads)
    2. Copy the content of the archive to the root of your sd-card
    3. Run Haret from your device
    4. After several minutes(up to 10 minutes, screen looks like freezed!) CM7.2 Splashscreen should appear and some minutes later you should see the Setup Wizard!
    5. Give it some minutes then to finish installations in backround before you continue

    How to go back to WinMobile NAND-BOOT

    1. Download official Stock ROM for your device from HTC Site. Take care of the language and provider brandings! It will only one work for your phone! If you have really no idea which one to take you can contact their support, they will help you!
    2. Start the Utility you have just downloaded
    3. Be sure to have enough battery power, at least 50% !!
    4. Unplug/Plug battery of your phone, press and hold! Volume down then press power button
    5. You should have entered 3-Color Screen now, plug the phone with your computer and start the tool! wait for the progress beeing done

    If you are having problems with connection while flashing do it this way!
    32
    Version tracking and Following EXPERIMENTAL BUILDS
    You may have noticed that i added some version tracking:

    The "-rX" in the filenames show the growing release number (Example: -r10)
    I removed ROM Manager and added GooManager instead, you can browse the files on the phone, checkout and install experimental updates etc. It will also let you know if there is an update!

    In the "Photonic" Folder there are two other folders: EXPERIMENTAL and RELEASE
    RELEASE is thought to be main, most stable and tested version, that most people should use. Experimental updates will only be included after heavy testing there
    EXPERIMENTAL is the storage for brand new tests on kernel and the android build, i will write the changes to the changelogs for the files so you can decide if you want to test it

    In most cases its "safe" to install experimental updates, feedback to them (using this forum thread) can really help me with developement.
    People that did hard to install the Photonic Release itsself should not try to test them.

    When having problems with the drivers
    To install the Android USB driver on Windows 7 for the first time:

    1. Connect your device to your computer's USB port.
    2. Right-click on Computer from your desktop or Windows Explorer, and select Manage.
    3. Select Devices in the left pane.
    4. Locate and expand Other device in the right pane.
    5. Right-click the device name and select Update Driver Software. This will launch the Hardware Update Wizard.
    6. Select Browse my computer for driver software and click Next.
    7. Click Browse and locate the USB driver folder.
    8. Click Next to install the driver.

    To install the Android USB driver on Windows XP for the first time:
    1. Connect your device to your computer's USB port. Windows will detect the device and launch the Hardware Update Wizard.
    2. Select Install from a list or specific location and click Next.
    3. Select Search for the best driver in these locations; un-check Search removable media; and check Include this location in the search.
    4. Click Browse and locate the USB driver folder.
    5. Click Next to install the driver.
    28
    the "liberated" image is ready, i have spent my spare time from the last weeks with it, to see if its worth finding a way to do it.

    Now i am at a point where i can say: Yes it is possible!

    for explanation how it works:

    we have 2 cores in our chipset, with each running a system on it.
    Arm9 core, running iguana rtos, that you do not notice as casual user, and
    Arm11 core, that is running wm/android, all the stuff you see on your display

    system is going up with 2 generic bootloaders by qualcomm, that bring up the hardware, first thing that happens, done by htc is "oemsbl" bootloader, running on arm9. that one loads amss (iguana) from nand to ram on arm9,it is doing everything with the modem and phone i.e.. amss is running on nand in a special efs partition. (we can not overwrite this one while the device is running, but we also dont need to). oemsbl also inits appspl (our SPL-Bootloader) on arm11. since here arm9 and arm11 have several interfaces to communicate with each other. we are lucky, most things are done via shared memory. SPL (appspl) starts the os then.

    so, what we want to do is flashing a different appspl, oemsbl and amss now, also we have to change the layout of htc partition.

    is that possible? YES
    we are lucky, the partitionlayout of these partitions are the same, so once they are loaded from nand to memory (except efs) we can change them while system is running.

    of course, this is a very risky procedure, as it is always when flashing spl and radio but its possible.

    what holds me back now ? the parts on nand we want to overwrite are locked. its my job now to find a way to unlock them, but the people that are involved in my work know, i am having good progress and i am very close ;)

    when will there be a release ? thats hard to say, ones unlocked, theres not much to do anymore, have to write a flash tool for DAU's, an other tool for copying your serials, imei's & mac's is already finished. also the first 2 android versions are finished now.

    will it be a "real" aria ? It will tell you so, but it's not. there are minor hardware differences that i had to fix in kernel & systems. but in general its possible to boot every aria release (with several things not working)

    are there any bugs left ? NO
    21
    hey guys, sorry for the missing status update;

    i have decided to do some test before posting my status with battery driver. but happily the last test isnt over yet, waiting for the battery beeing empty since 50h now!

    well, i think the test will take about 10 more hours, but i will post the detailed results then :)