Camera Swap (Best Buy S7-104)

50cals

Member
Jan 5, 2011
250
18
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:

pvella

Senior Member
Dec 20, 2010
392
38
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?
 

heyuuuu

Member
Jan 30, 2011
5
0
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:

Martian

Member
Jan 28, 2011
8
4
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.
 

50cals

Member
Jan 5, 2011
250
18
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
 

50cals

Member
Jan 5, 2011
250
18
Can someone explain where they are putting these switch GSCRIPTS and what do i write one in ? np++ ?

thx
 

heyuuuu

Member
Jan 30, 2011
5
0
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:

shanksv

Member
Nov 13, 2010
117
23
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

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:)
 

gurduiala

Member
Jan 7, 2011
36
0
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:)

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!
 

50cals

Member
Jan 5, 2011
250
18
Try flipping s7 180, see if the does anything.


Sent from my S7 thru space & time
 
Top