Camera Swap (Best Buy S7-104)

Discussion in 'Huawei Ideos S7 Development' started by Celtus, Jan 30, 2011.

  1. 50cals

    50cals Member

    Joined:
    Jan 5, 2011
    Messages:
    250
    Likes Received:
    18
    Trophy Points:
    87
    Location:
    Las Vegas
    Tablet / Device:
    Ideos s7
    Well just woke up , off to work in a few. Turned on my S7 and hangs at the loading screen "the round dots" , it just sits there. I took out my external sdcard and it loads up fine. What could have happened to my sdcard? After doing above process i rebooted multiple times and everything was fine.

    So hangs with sdcard inserted, boots fine without card in now.


    EDIT- started without sdcard in, booted up fine.... inserted sdcard, went to settings > sdcards > and the internal and external cards show up fine. All apps show as the lil android guy.....
     
    Last edited: Feb 1, 2011
  2. pvella

    pvella Senior Member

    Joined:
    Dec 20, 2010
    Messages:
    392
    Likes Received:
    38
    Trophy Points:
    102
    Location:
    Melbourne
    Tablet / Device:
    Huawei S7
    I am guess here, but it may be a problem with your second partition, since you have A2SD installed. Can you go into a terminal and type "mount" and "busybox df -h" to make sure all the partitions on the sdcard are mounted?

    I think you possibly need to fsck the ext2 partition and then it might be ok. Can you insert the card into a Windows or Linux PC and look at it?
     
  3. heyuuuu

    heyuuuu Member

    Joined:
    Jan 30, 2011
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    60
    I guess we have messed up rear cam isnt' show up on the system anymore
    I have tried to revert back but no luck to see rear cam anymore

    $ ls -l
    ls -l
    crw-rw---- system system 245, 5 2011-02-01 08:41 frame1
    crw-rw---- system system 245, 4 2011-02-01 08:41 config1
    crw-rw---- system system 245, 3 2011-02-01 08:41 control1
    crw-rw---- system system 245, 2 2011-02-01 08:41 frame0
    crw-rw---- system system 245, 1 2011-02-01 08:41 config0
    crw-rw---- system system 245, 0 2011-02-01 08:41 control0
    $ su
    su
    # id
    id
    uid=0(root) gid=0(root)
    # rm /dev/msm_camera/*
    busybox mknod frame0 c 245 5
    busybox mknod frame1 c 245 2
    busybox mknod config0 c 245 4
    busybox mknod config1 c 245 1
    busybox mknod control0 c 245 3
    busybox mknod control1 c 245 0
    chown system.system *
    chmod 660 *

    # ls -l
    ls -l
    crw-rw---- system system 245, 0 2011-02-01 21:07 control1
    crw-rw---- system system 245, 3 2011-02-01 21:07 control0
    crw-rw---- system system 245, 1 2011-02-01 21:07 config1
    crw-rw---- system system 245, 4 2011-02-01 21:07 config0
    crw-rw---- system system 245, 2 2011-02-01 21:07 frame1
    crw-rw---- system system 245, 5 2011-02-01 21:07 frame0
    #

    After reboot

    # ls -l /dev/msm_camera
    ls -l /dev/msm_camera
    crw-rw---- system system 245, 5 2011-02-02 01:46 frame1
    crw-rw---- system system 245, 4 2011-02-02 01:46 config1
    crw-rw---- system system 245, 3 2011-02-02 01:46 control1
     
    Last edited: Feb 2, 2011
  4. Martian

    Martian Member

    Joined:
    Jan 28, 2011
    Messages:
    8
    Likes Received:
    4
    Trophy Points:
    62
    Location:
    US
    Tablet / Device:
    Ideos S7
    Thanks Celtus & Shanksv. I am learning android, its more fun that I thought. Just threw the Front and rear camera files into GScript folder after verifying the files /dev/msm_Camera. Run Front and Fring, run Rear and mobileTag. All work great, do not have to go to terminal or adb shell. Perfect. Thanks guys. Can somebody guide me where is THANKs button please? I owe it to many of you.
     
  5. 50cals

    50cals Member

    Joined:
    Jan 5, 2011
    Messages:
    250
    Likes Received:
    18
    Trophy Points:
    87
    Location:
    Las Vegas
    Tablet / Device:
    Ideos s7
    Sry pvella but have already done a factory reload and fdisked the internal

    i will be redoing the app2sd when i get home from work. Funny my init-cam. Sh file is still there and on reboots i still have my front cam as default, back cam works fine.

    will redo and see what happens, i did go a bit crazy downloading before bed yesterday and turned off s7. turned on this morning and got the hang. Not sure if the downloading caused the issue

    thx, this still rocks ! Looking forward to 2.2
     
  6. 50cals

    50cals Member

    Joined:
    Jan 5, 2011
    Messages:
    250
    Likes Received:
    18
    Trophy Points:
    87
    Location:
    Las Vegas
    Tablet / Device:
    Ideos s7
    Can someone explain where they are putting these switch GSCRIPTS and what do i write one in ? np++ ?

    thx
     
  7. heyuuuu

    heyuuuu Member

    Joined:
    Jan 30, 2011
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    60
    whatever I do after reboot it comes back with front cam only
    ls -l /dev/msm_camera
    crw-rw---- system system 245, 5 2011-02-02 09:37 frame1
    crw-rw---- system system 245, 4 2011-02-02 09:37 config1
    crw-rw---- system system 245, 3 2011-02-02 09:37 control1

    It looks like is something overwrite when system startup anyidea?

    Updates
    I have revert back to the orignial files but I sill unable to see rear camera
    Is there a way to restore system files or re-install camera only? re-image would be my last choices


    Thanks
     
    Last edited: Feb 2, 2011
  8. shanksv

    shanksv Member

    Joined:
    Nov 13, 2010
    Messages:
    117
    Likes Received:
    23
    Trophy Points:
    87
    Location:
    Haslett, MI USA
    Tablet / Device:
    Huawei S7, Nook Color, Nook orig, ATT Tilit2
  9. gurduiala

    gurduiala Member

    Joined:
    Jan 7, 2011
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    70
    Location:
    Washington DC
    So, quick question,

    Do i just download the Scripts and the program? and then what? just run it? sorry, im somewhat new to this,

    Thank you

     
  10. shanksv

    shanksv Member

    Joined:
    Nov 13, 2010
    Messages:
    117
    Likes Received:
    23
    Trophy Points:
    87
    Location:
    Haslett, MI USA
    Tablet / Device:
    Huawei S7, Nook Color, Nook orig, ATT Tilit2
    Yes download the program and install it. Run the program, click the menu button, tap on the add script menu, you can either type and create the script there or you can tap on load file and you will should see the 2 script files in your Sd card's gscript folder (download from the earlier attachment and put it in the SD card's gscript folder)

    Hope I am clear:)
     
    • Like Like x 4
  11. gurduiala

    gurduiala Member

    Joined:
    Jan 7, 2011
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    70
    Location:
    Washington DC
    You are very clear, one last question,

    As i try FRING, it is somehow up-side-down,

    What i means: when i see myself correctly, the other person sees me up-side-down,

    Any ideas on that?

    Thank you!
     
  12. shanksv

    shanksv Member

    Joined:
    Nov 13, 2010
    Messages:
    117
    Likes Received:
    23
    Trophy Points:
    87
    Location:
    Haslett, MI USA
    Tablet / Device:
    Huawei S7, Nook Color, Nook orig, ATT Tilit2
    Sorry, I do not use fring. No idea why that would happen.
     
  13. 50cals

    50cals Member

    Joined:
    Jan 5, 2011
    Messages:
    250
    Likes Received:
    18
    Trophy Points:
    87
    Location:
    Las Vegas
    Tablet / Device:
    Ideos s7
    Try flipping s7 180, see if the does anything.


    Sent from my S7 thru space & time
     

Share This Page

Search tags for this page

amera swal