Sharp SH7218u

Search This thread

xdajunkman

Senior Member
Nov 11, 2007
163
61
This thread is dedicated to hacking and development of the Sharp SH7218u. This is an Android phone with a somewhat unique clamshell form-factor.

Before proceeding, please note that all of the usual warnings apply. The software and techniques described here have the potential to break your device and make it unusable. By using the software and following these techniques you run the risk of bricking your phone. I take no responsibility if this happens - proceed at your own risk.

First, some credits for the work of others:

Z4root:
Developed by xda member RyanZA.
http://xdaforums.com/showthread.php?t=833953

SH7218u Clockworkmod Recovery:
Clockworkmod original developer is Koushik Dutta:
www.clockworkmod.com

Dialer2:
Original developer of now open source dialer is dnaq Productions:
http://dnaq.tumblr.com/

Initial hacking and development work:
Gigi Tse is credited for early and ongoing work for the SH7218u:
http://gigitse.com/
http://www.msharp.cn/forum/t390991/page1/

Now on the instructions....
-------------------
Rooting Your Phone, Installing Clockworkmod Recovery, and Installing Google Apps


Gather the Required Files:

1. Go to the z4root xda thread, login in and download z4root.1.3.0.apk:
http://xdaforums.com/showthread.php?t=833953

2. Download SH7218u_recovery.apk:
(attached below)

3. Download the Clockworkmod recovery flashable Google Apps file from the following site:
http://goo-inside.me/gapps
In the table, you want to select the HDPI, CyanogenMod 6 version. The file that you download should be
called 'gapps-hdpi-20101114-signed.zip'

4. Place these three files on your micro-SD card and insert the card into your phone.


Root Your Phone

1. Boot up your phone and skip the system setup wizard. Go to the app drawer and run 'Settings'.
2. Select 'Applications', and enable 'Unknown sources'.
3. Select 'Development', and enable 'USB debugging'.
4. Exit back out to your home screen launcher, then go to the app drawer and run 'ES File Explorer'.
5. The file explorer should show you the contents of your sd card. Tap on the file 'z4root.1.3.0.apk'.
6. Confirm installation of z4root, and when this is complete select 'Open' to run the app.
7. From within z4root, press the 'Permanent Root' button.
8. Wait until this process is complete, and the phone will reboot by itself. It can take 30 seconds or so for this to happen, so be patient. You are now rooted.


Flash Clockworkmod Recovery Image

You must be rooted for this to work. Do this after you have successfully completed the rooting process above. Also please note that this is not the CWM recovery image developed by Gigi Tse. Her image contains CWM version 3.0.2.4. This is my recovery image and contains CWM version 5.0.2.8.

1. Open the app drawer and run 'ES File Explorer'.
2. Tap on the file 'SH7218u_recovery.apk'.
3. Confirm installation and run the application by selecting 'Open' once installation is complete.
4. On startup, the application will request Superuser privleges - press 'Accept' to allow this.
5. Press the 'Flash Clockworkmod Recovery' button.
6. Wait a few seconds until you see the confirmation message 'Recovery Flash Complete'.
7. Exit out of the application. You now have Clockworkmod as your recovery. You can uninstall the SH7218u_recovery app if you wish as you have no further use of it.

Note for users of Link2SD: This version of Clockworkmod recovery will perform backup and restore operations on the secondary SD card partition used by Link2SD. However, that partition must be formatted in the ext3 filesystem for this to work. Formatting the partition in any other filesystem (e.g. ext2, fat32, ext4, etc.), will result in failure to mount and backup the partition. An SD card can be prepared for use with Link2SD from within this version of Clockworkmod recovery by using the 'Partition SD Card' feature within the 'Advanced' menu.


Install Google Apps

1. Boot into Clockworkmod Recovery. This is done by powering down your phone, then turning it back on by pressing and holding down the number 3 and 6 buttons together, then pressing and releasing the power button. Continue to hold the number 3 and 6 buttons until you see the Clockworkmod screen.
2. Select 'install zip from sdcard' from the menu.
3. Select 'choose zip from sdcard' from the next menu.
4. The next menu will be the contents of your sdcard. Select the Google Apps file - 'gapps-hdpi-20101114-signed.zip'.
5. Confirm the installation and wait until it is complete.
6. Press the back button once to get back to the main screen and select 'reboot system now'. You now have Google Apps installed.

When you reboot the device, you will be taken through the Google account setup. Please note that in order for contacts applications to work with Google synchronization, you will need to install a modified contact editor. The stock firmware on this phone is not intended to sync with the Google servers as it was intended for Chinese users. The modified contact editor fixes this issue. It is free and available from the Market. Look for 'Contact Editor Free' by a developer named 'dmfs'.
 

Attachments

  • SH7218u_recovery.apk
    4.5 MB · Views: 170
Last edited:

TabletGuru

Member
Oct 16, 2007
6
0
Thank you! Very good job!

No ideas how to get the phone to answer a call when you open?
 
Last edited:

xdajunkman

Senior Member
Nov 11, 2007
163
61
Thank you! Very good job!

No ideas how to get the phone to answer a call when you open?

Hey someone read my thread!!
Sorry, no posts on this thread yet and it has been up for a while. I think most people who have this phone stick to Howard forums or other such sites that cater to the phone type and its region of origin.

As for your question, no...but I have tried. That would require a modification of the phone app or a change to the OS itself as the phone app is the active app when the phone is ringing and the device is opened. If I had the source code for the stock phone app, this would be a fairly easy thing to do. Unfortunately, I have been unable to find the source for the stock device firmware anywhere. I tried compiling a generic Froyo phone app from the Google source, but of course this did not work. This is a somewhat special app that needs to interface with several parts of the device's hardware, so a generic version just doesn't work. Unless Sharp releases the full source code for the stock firmware, I don't think this is going to be possible....at least not from someone with my somewhat limited development abilities.
 
  • Like
Reactions: martindesu

martindesu

Senior Member
Apr 22, 2012
174
23
Google Play

Hey xdajunkman, amazing work you are doing here.

Have you considered adding Google Play to the mix? I was able to get the latest version working just fine on my SH7218u.

How hard would it be to hack the light notifications area of the phone, to make some of the notifications last for 1-2 seconds longer?

I should also add that my phone is giving some really flaky GPS information. It is putting me somewhere in the ocean near China unless I use wifi only. Do you have any experience with this?

EDIT: I don't know why, but the dialer is not working for me with regard to the long-press of the delete key and silent (#) key. No idea why...

EDIT2: It is because I had another keyboard installed; which must do something funky... switching back to a default keyboard and then trying seemed to work!
 
Last edited:

xdajunkman

Senior Member
Nov 11, 2007
163
61
Thanks for your guide! Do you have got new version Rom? 2.3 or 2.3.5?

Not likely to come. This would mean building something like CM7 for a new device from scratch. This kind of task takes dozens of man-hours for an expert developer, and that assumes that they have access to the original source for the release build. We do not have the original source, and there is no such developer working on this device. We will be stuck with Froyo.
 

RocketRed

New member
May 8, 2012
1
0
Cow
Thank you so much for taking the time to write a guide xdajunkman!

I received my SH7218u today and did everything. The instructions were clear and the whole process took no more than 30 minutes.

Surprisingly, my SH7218u accepts 64 microsd card (after you format it).
 

sirjoe1

Member
Jun 10, 2012
13
2
Is it ok to have 2 partitions?
One is a ext2, and the other I just created using clockwork mod ext3...
I'm wanting to use that custom rom..

EDIT: clockwork mod Repartitioned my ext2 to ext3 now ಠ_ಠ
and all my apps are "installed"
Going to make a backup rom now.. and then Install xdajunkman's custom rom >__<

EDIT: Ok succesfully installed the Custom rom :D It looks great I might say :D awesome work xdajunkman :D
Ok the question is now.. how to I get back all my previous apps and stuff?
I followed the guide and made a backup already :)
 
Last edited:

delpan

New member
Jun 11, 2012
1
0
My 7218u stuck at Sharp logo when boot because i've uninstalled a system apps ( don't remember exactly:confused:) what i've to do now? plz help me

P/S: My english sucks, sorry for that
 

xdajunkman

Senior Member
Nov 11, 2007
163
61
EDIT: Ok succesfully installed the Custom rom :D It looks great I might say :D awesome work xdajunkman :D
Ok the question is now.. how to I get back all my previous apps and stuff?
I followed the guide and made a backup already :)

It is usually just easier if you wait until you have the new ROM installed before you try and install your apps. There is no reliable way from within CWM to restore your installed apps.
However, because the new ROM is just a modified version of the stock ROM, it should be possible to flash the new ROM without wiping the existing user data and keeping your installed apps. Restore your backup that has all of your apps installed. Then, flash the modified ROM but skip the step in the instructions that tells you to wipe existing user data. Instead of wiping the user data, do the following:
1. In the 'mounts and storage' menu of CWM recovery, select to format both '/system' and '/cache'
2. In the 'advanced' menu of CWM, select 'Wipe Dalvik cache'
Now proceed with installing the ROM as per the instructions. This should result in the modified ROM being installed, but all of your installed apps should be protected.

If this does not work, then you will just have to re-installed the modified ROM according to the instructions (including wiping the existing user data), then re-install all of your apps. For future reference, a great app called Titanium Backup will allow you to backup your apps and restore them after changing the ROM.
 
  • Like
Reactions: sirjoe1

xdajunkman

Senior Member
Nov 11, 2007
163
61
-->My 7218u stuck at Sharp logo when boot because i've uninstalled a system apps
-->( don't remember exactly) what i've to do now? plz help me

Boot into clockwork mod by pressing 3and 6 and the power on button, (assuming you have that installed)

Reinstall the rom.. http://xdaforums.com/showthread.php?p=22106340#post22106340

Agree with sirjoe1. Hopefully you flashed CWM as your recovery before you did this. However, if not then booting into recovery mode as described above should trigger a factory reset from the stock recovery partition. I have not attempted this myself with the stock recovery, but usually what this will do is simply return your device to it's stock state. You can then start over using the instructions in the OP....but without deleting critical system apps this time.
 
  • Like
Reactions: sirjoe1

sirjoe1

Member
Jun 10, 2012
13
2
Hello again, I've a question, has anyone successfully Overclocked the cpu frequency on this phone using setcpu or similar apps?

:)
 

xdajunkman

Senior Member
Nov 11, 2007
163
61
Overclocking not possible without either a custom kernel or a kernel module of some sort. As the source for the stock kernel was never released, such a thing would be a HUGE undertaking. Very unlikely to ever happen.
 
  • Like
Reactions: sirjoe1

sirjoe1

Member
Jun 10, 2012
13
2
Overclocking not possible without either a custom kernel or a kernel module of some sort. As the source for the stock kernel was never released, such a thing would be a HUGE undertaking. Very unlikely to ever happen.

Oh darn, that's such a downer..

These sh7218u threads are so dead nowadays :/
 
Last edited:

sirjoe1

Member
Jun 10, 2012
13
2
I might have messed up my phone -_- (again)
I went into the /data/sdext2/dalvik-cache and deleted everything and now a few apps have gone missing, and some won't work, they just give me a force close error >___<
I also lost my go launcher ex settings..
and to make things worse.... my internal memory went to 0% free... deleted a few things to clear up 8mb..
Any Ideas how to fix this ? @____@


[Can you guys play 480p videos?
I can't.. 360p runs fine though..]
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    This thread is dedicated to hacking and development of the Sharp SH7218u. This is an Android phone with a somewhat unique clamshell form-factor.

    Before proceeding, please note that all of the usual warnings apply. The software and techniques described here have the potential to break your device and make it unusable. By using the software and following these techniques you run the risk of bricking your phone. I take no responsibility if this happens - proceed at your own risk.

    First, some credits for the work of others:

    Z4root:
    Developed by xda member RyanZA.
    http://xdaforums.com/showthread.php?t=833953

    SH7218u Clockworkmod Recovery:
    Clockworkmod original developer is Koushik Dutta:
    www.clockworkmod.com

    Dialer2:
    Original developer of now open source dialer is dnaq Productions:
    http://dnaq.tumblr.com/

    Initial hacking and development work:
    Gigi Tse is credited for early and ongoing work for the SH7218u:
    http://gigitse.com/
    http://www.msharp.cn/forum/t390991/page1/

    Now on the instructions....
    -------------------
    Rooting Your Phone, Installing Clockworkmod Recovery, and Installing Google Apps


    Gather the Required Files:

    1. Go to the z4root xda thread, login in and download z4root.1.3.0.apk:
    http://xdaforums.com/showthread.php?t=833953

    2. Download SH7218u_recovery.apk:
    (attached below)

    3. Download the Clockworkmod recovery flashable Google Apps file from the following site:
    http://goo-inside.me/gapps
    In the table, you want to select the HDPI, CyanogenMod 6 version. The file that you download should be
    called 'gapps-hdpi-20101114-signed.zip'

    4. Place these three files on your micro-SD card and insert the card into your phone.


    Root Your Phone

    1. Boot up your phone and skip the system setup wizard. Go to the app drawer and run 'Settings'.
    2. Select 'Applications', and enable 'Unknown sources'.
    3. Select 'Development', and enable 'USB debugging'.
    4. Exit back out to your home screen launcher, then go to the app drawer and run 'ES File Explorer'.
    5. The file explorer should show you the contents of your sd card. Tap on the file 'z4root.1.3.0.apk'.
    6. Confirm installation of z4root, and when this is complete select 'Open' to run the app.
    7. From within z4root, press the 'Permanent Root' button.
    8. Wait until this process is complete, and the phone will reboot by itself. It can take 30 seconds or so for this to happen, so be patient. You are now rooted.


    Flash Clockworkmod Recovery Image

    You must be rooted for this to work. Do this after you have successfully completed the rooting process above. Also please note that this is not the CWM recovery image developed by Gigi Tse. Her image contains CWM version 3.0.2.4. This is my recovery image and contains CWM version 5.0.2.8.

    1. Open the app drawer and run 'ES File Explorer'.
    2. Tap on the file 'SH7218u_recovery.apk'.
    3. Confirm installation and run the application by selecting 'Open' once installation is complete.
    4. On startup, the application will request Superuser privleges - press 'Accept' to allow this.
    5. Press the 'Flash Clockworkmod Recovery' button.
    6. Wait a few seconds until you see the confirmation message 'Recovery Flash Complete'.
    7. Exit out of the application. You now have Clockworkmod as your recovery. You can uninstall the SH7218u_recovery app if you wish as you have no further use of it.

    Note for users of Link2SD: This version of Clockworkmod recovery will perform backup and restore operations on the secondary SD card partition used by Link2SD. However, that partition must be formatted in the ext3 filesystem for this to work. Formatting the partition in any other filesystem (e.g. ext2, fat32, ext4, etc.), will result in failure to mount and backup the partition. An SD card can be prepared for use with Link2SD from within this version of Clockworkmod recovery by using the 'Partition SD Card' feature within the 'Advanced' menu.


    Install Google Apps

    1. Boot into Clockworkmod Recovery. This is done by powering down your phone, then turning it back on by pressing and holding down the number 3 and 6 buttons together, then pressing and releasing the power button. Continue to hold the number 3 and 6 buttons until you see the Clockworkmod screen.
    2. Select 'install zip from sdcard' from the menu.
    3. Select 'choose zip from sdcard' from the next menu.
    4. The next menu will be the contents of your sdcard. Select the Google Apps file - 'gapps-hdpi-20101114-signed.zip'.
    5. Confirm the installation and wait until it is complete.
    6. Press the back button once to get back to the main screen and select 'reboot system now'. You now have Google Apps installed.

    When you reboot the device, you will be taken through the Google account setup. Please note that in order for contacts applications to work with Google synchronization, you will need to install a modified contact editor. The stock firmware on this phone is not intended to sync with the Google servers as it was intended for Chinese users. The modified contact editor fixes this issue. It is free and available from the Market. Look for 'Contact Editor Free' by a developer named 'dmfs'.
    1
    Thank you! Very good job!

    No ideas how to get the phone to answer a call when you open?

    Hey someone read my thread!!
    Sorry, no posts on this thread yet and it has been up for a while. I think most people who have this phone stick to Howard forums or other such sites that cater to the phone type and its region of origin.

    As for your question, no...but I have tried. That would require a modification of the phone app or a change to the OS itself as the phone app is the active app when the phone is ringing and the device is opened. If I had the source code for the stock phone app, this would be a fairly easy thing to do. Unfortunately, I have been unable to find the source for the stock device firmware anywhere. I tried compiling a generic Froyo phone app from the Google source, but of course this did not work. This is a somewhat special app that needs to interface with several parts of the device's hardware, so a generic version just doesn't work. Unless Sharp releases the full source code for the stock firmware, I don't think this is going to be possible....at least not from someone with my somewhat limited development abilities.
    1
    EDIT: Ok succesfully installed the Custom rom :D It looks great I might say :D awesome work xdajunkman :D
    Ok the question is now.. how to I get back all my previous apps and stuff?
    I followed the guide and made a backup already :)

    It is usually just easier if you wait until you have the new ROM installed before you try and install your apps. There is no reliable way from within CWM to restore your installed apps.
    However, because the new ROM is just a modified version of the stock ROM, it should be possible to flash the new ROM without wiping the existing user data and keeping your installed apps. Restore your backup that has all of your apps installed. Then, flash the modified ROM but skip the step in the instructions that tells you to wipe existing user data. Instead of wiping the user data, do the following:
    1. In the 'mounts and storage' menu of CWM recovery, select to format both '/system' and '/cache'
    2. In the 'advanced' menu of CWM, select 'Wipe Dalvik cache'
    Now proceed with installing the ROM as per the instructions. This should result in the modified ROM being installed, but all of your installed apps should be protected.

    If this does not work, then you will just have to re-installed the modified ROM according to the instructions (including wiping the existing user data), then re-install all of your apps. For future reference, a great app called Titanium Backup will allow you to backup your apps and restore them after changing the ROM.