Sharp FX Plus ADS1 - Root, System Dump, ClockWorkMod Recovery test, Insecure Boot.IMG/Kernel + MoreGeneral


Last Updated:

  1. AmauryRR

    AmauryRR Member

    DISCLAIMER: This researched information has been gathered to be of use. and is provided as-is These modifications most like will maybe break a warranty or two and if not carefull, your mileage may vary. If your doorbell rings and its the cool-aid guy, I dont know what happened..

    Hi all, I picked up one of these to replace my old droid - and got started playing around with this thing. I was looking for any possinble CWM/ROMs for this device and found none. So, I figured how to make CWM for it as well as dump things off it and (hopefully) see what makes this thing tick.

    CPU: Qualcomm MSM7x27 (MSM7227) @ 600MHz
    GPU: Adreno 200
    RAM: 512MB
    ROM: 512MB (180-Ish available to user, sd card + sd-ext partition work with app2sd)

    It can be rooted, clockworkmod recovery v6 works (aside from usb mount, lun file error), the boot.img can be loaded as insecure (root, with adb on, etc..), roms can be flashed to the device, backups work, as do restorations. Chainfire 3d works.

    Here's the information I got on this so far, might be usefull to someone else looking to develop for this device. I'm trying to learn to port CyanogenMod 7 to this device, but figure I'd post what I learned and maybe it can help someone else.

    -Sharp drivers (from their website)

    -Rooting this thing is simple (used SuperOneClick 2.3.3)

    UPDATE: updated to the newer recovery links (cwm6 and ext3 recovery)
    CLOCKWORKMOD RECOVERY(UN-official Test made from stock)

    -Made a CWM ClockWorkMod Recovery from the stock image (made a small writeup on it on here)
    -CWM files can be grabbed here use 7-zip to open them.
    -The CWM recovery is functional except for the USB mass storage mount.
    -To install, copy the CWM/recovery.img to your SDCARD as well as the flash_image binary
    -Using either an ADB shell or Terminal on the device enter these commands to flash your recovery
    Code (Text):
    1.  
    2. su
    3. mount -o remount,exec /dev/block/vold/179:1 /sdcard
    4. cd /sdcard
    5. ./flash_image recovery ./recovery.img
    6.  
    NOTE: If you're having problems with running the flash_image make sure its executable with
    Code (Text):
    1.  
    2. chmod 775 /sdcard/flash_image
    3.  
    INSECURE BOOT IMAGE (ro.secure=0 root, adb debugging on, etc..)
    -Also finally figured how to make a insecure boot.img from the original Sharp ADS1 boot.img (info on that here)
    -Files for the insecure boot.img (also contains stock boot.img as well as tools and all extracted files to look at) can be grabbed from here.
    -Copy the flash_image to the SDCARD (if its not already there) and the insecure.boot.img file also to your SDCARD and run the following in a terminal or ADB Shell:
    Code (Text):
    1.  
    2. su
    3. mount -o remount,exec /dev/block/vold/179:1 /sdcard
    4. cd /sdcard
    5. flash_image boot insecure.boot.img
    6. reboot
    7.  
    -I'm trying to see what can be done with this phone, gathered some information on the device (kernel config, system dump and notes on the factory recovery screen)
    -Hardware seems similar to some ZTE devices (ZTE Blade I think), Commtiva Z71 and probably more - the Z71 CM6 rom would actually make it to the CyanogenMod bootanimation..

    Output of cat /proc/mtd
    Code (Text):
    1.  
    2. # cat /proc/mtd
    3. dev:    size   erasesize  name
    4. mtd0: 00500000 00040000 "boot"
    5. mtd1: 0a500000 00040000 "system"
    6. mtd2: 00100000 00040000 "splash"
    7. mtd3: 02800000 00040000 "cache"
    8. mtd4: 00080000 00040000 "fota_state"
    9. mtd5: 02100000 00040000 "fota_up"
    10. mtd6: 00080000 00040000 "misc"
    11. mtd7: 00280000 00040000 "persist"
    12. mtd8: 00500000 00040000 "recovery"
    13. mtd9: 0bcc0000 00040000 "userdata"
    14.  
    Output of mount
    Code (Text):
    1.  
    2. rootfs / rootfs ro,relatime 0 0
    3. tmpfs /dev tmpfs rw,relatime,mode=755 0 0
    4. devpts /dev/pts devpts rw,relatime,mode=600 0 0
    5. proc /proc proc rw,relatime 0 0
    6. sysfs /sys sysfs rw,relatime 0 0
    7. /dev/block/mtdblock1 /system yaffs2 ro,relatime 0 0
    8. /dev/block/mtdblock9 /data yaffs2 rw,nosuid,nodev,relatime 0 0
    9. /dev/block/mtdblock7 /persist yaffs2 rw,nosuid,nodev,relatime 0 0
    10. tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
    11. tmpfs /tmp tmpfs rw,relatime 0 0
    12. /dev/block/mtdblock3 /cache yaffs2 rw,nosuid,nodev,relatime 0 0
    13. /dev/block/mtdblock5 /fotaup yaffs2 rw,relatime 0 0
    14. /dev/block/vold/179:1 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0712,dmask=0700,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
    15. /dev/block/vold/179:1 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0712,dmask=0700,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
    16. tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
    17.  
    I've also attatched the stock kernel config.gz, and a system.info.gz incase anyone wants to see whats inside. Hope this helps anyone looking for information on this device. Link to the stock-ish Froyo 2.2.2 romdump is here - made this off my own ADS1 with a factory reset, some (not all) bloatware removed, rooted, stock sharp boot.img. Insecure boot.img can be flashed seperately (above). This thing isnt bad
    for what it is, would be nice to have something newer than Froyo on here lol.

    Attached Files:


    Advertisement
  2. AmauryRR

    AmauryRR Member

    Tested "porting" over an exisitng rom from a Commtiva Z71 and it works (although with some bugs)

    Used the insecure boot.img (interestingly it would loop at the CyanogenMod 6 boot animation using the CM6-Z71 rom)

    Added in libs and modified the init.* files as well as added some files to bin from the ADS1 and its mostly functional

    NOT WORKING/BUGS:
    -WiFI (wpa_supplicant error, working on the libs needed for that)
    -Battery drain (looking at logcat for errors)
    -Softkey '@' mapping for the keyboard
    -Softkey backlighting (stays on with screen closed, and with auto backlight off)
    -Some "3d" jitteryness (minor, but going to try the GL libs from the ADS1)
    -Camera (unable to connect to camera, going to check for libs)
    -USB Storage mounting (looking @ fstab scripts)

    WORKING (need more testing)
    -Phone Radio/DATA (calls, sms, mms, data, sync, etc.. work)
    -Touchscreen (no problems, works smoothly so far)
    -Rotation sensor
    -Light sensor (auto adjusts when auto backlight is on for screen)
    -SD Mounting (can access all files via file manager)
    -Audio - Speaker+Mic (havent tested headset yet)
    -Bluetooth (enables, logcat looks good but havent tested pairing yet)
    -Keyboard (aside from @ key) opening also rotates screen for you

    Looking at the file system, it has a 512MB ROM - split between system rom, userdata and other misc partitions. Formatting a SDCARD with a SD-EXT Partition works very nicely (mines is a split 16Gig card - 2G /sd-ext 14G /sdcard)

    I'm still working on getting this to run nicer, as-is its very fast on this device. Seeing as it seems similar to the Z71, that may be a good direction to start for developing something for this device.

    Hope this is usefull to someone looking to mod this device.
  3. AmauryRR

    AmauryRR Member

    (I copied this from a thread I have on another forum's Misc Android Development section.. Sharing notes as usual!)

    Update on "porting" CM6 for the Commtiva Z71 to the Sharp ADS1.

    Not Working:
    -WiFi - logcat shows an error when loading the libra.ko seems to load librasdioif.ko fine however
    -Camera - logcat shows problem loading liboemcamera.so (using the ADS1 libs and Camera.apk)
    -3d Acceleration - works, but has some hiccups (so it still needs *some* work - importing some Adreno200 EGL libs over improved greatly so far)
    -USB Mounting - havent gotten to this yet, still working on WiFI/Camerea. ADB works flawlessly (push, pull, reboot, lolcat/logcat, etc..)
    -@ Key and SYM on physical keyboard arent mapped correctly (going to see if I can poll the keys and figure that out) also the Camera physical button does not map.

    Working:
    -Calls (speaker also, mute, normal, etc..)
    -Data (uploaded my wordpress post from the device, market sync works, etc..)
    -SMS/MMS
    -SDCARD (can be browsed internally, SD-Ext for app2sd works, no USB Mounting yet)
    -Bluetooth
    -Audio
    -Keyboard Backlight+Sensors (properly shuts off when screen is slid closed)
    -Deep Sleep seems to be working (battery life seems to be decent, still gotta work other bugs out)
    -Rotation sensor (open keyboard, screen rotates for you also)
    -Auto brightness sensor looks to be working normally (even turns keyboard backlighting off it seems)

    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]

    Box-O-Aces | Sharp FX Plus ADS1 Z71-CM6 Test ROM | Box-O-Aces

    I'm a little stumped on the WiFi + Camera issue, both roms (CM6-Z71 and ADS1-Stock) are running similar Kernels, and the version of Froyo is almost identical; CM6-Z71 Is actually 2.2.1 and ADS1 is 2.2.2 as I recieved it (CyanogenMod runs sooo much better :) ).

    wifi libs (in /system/lib/modules):
    Code (Text):
    1.  
    2. libra.ko
    3. librasdio.ko
    4. modules.dep.bb
    5.  
    If anyone has some time to help or atleast offer some insight, I can repost the stock dumps, nand backups, kernel, ramdisk, logcats - and even a cwm zip I've made for flashing a "slimmed" version of the stock 2.2.2 Froyo as well as any "working" version of the CM6 "port" I'm attempting). I've been comparing logcats from the stock rom and this to see what can possibly be stopping wifi/camera working..

    The CM6 ROM IS EXPERIMENTAL AND NOT A DAILY DRIVER AT ALL - (I wouldnt consider it untill WiFI, Camera, etc.. are functional. It is usable - even updated my wordpress post from the device with screenshots, hower it is still an Development Work In Progress).
  4. AmauryRR

    AmauryRR Member

    WiFi working!

    Still not working:
    -USB Mass Storage mounting. ADB works, charging works.
    -Camera/Video
    -3d graphics still somewhat choppy (low fps, checking Adreno 200 EGL libs)
    -checking on @, Sym and Camera button keymapping also (all other keys work)

    Working:
    -Charging
    -Phone/Data
    -SMS/MMS
    -WiFi/Bluetooth
    -Touchscreen
    -SDCARD Mounting (internally, working on USB mounting)
    -SD-EXT (app2sd works also)
    -Auto light sensor
    -Keyboard backlighting (seems to also work with the light sensor)
    -Audio:Speakers/Mic

    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
  5. AmauryRR

    AmauryRR Member

    Updated the ClockWorkMod Recovery from the builder site (generated using a dump of the stock.img)
    Now it formats /sd-ext as Ext3 and not Ext4 (more info here). Also included the stock recovery image and tools.

    Also got a test version of the CM6.1.2 port (more info here) - USB mass storage should work, no Google Apps (can be downloaded seperately - get CyanogenMod 6 MDPI version).

    BUGS/TODO:

    -Looking at a hardware keyboard "glitch" - Sym key brings up the "Select Input Method" menu (vs the Symbol menu). The @(AT) key also is unresponsive, using KeyTest.apk - shows as picking up #215 - but its not doing anything.
    -Need to test the GPS
    -Need to test Bluetooth pairing more
    -Checking issue with init.d automounting sd-ext (running /system/etc/init.d/05mountsd works)
    -If ADW Launcher stays stuck in Portrait mode (wont rotate), uncheck System Persistent from the ADW System options if its checked in and having problems.

    DOWNLOADS:
    CWM-EXT3-TEST (unpack to your SDCARD)
    CM6.1.2-ADS1-B4a2 (flash with CWM, backup and data wipe prior to testing)

    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
  6. AmauryRR

    AmauryRR Member

    Well, aint pretty but its a start. Going to see if this can be made stable.

    [​IMG]
  7. AmauryRR

    AmauryRR Member

    DISCLAIMER: These are testing roms, they work pretty well for me - but always backup before flashing anything. Not responsible if sliding open the keyboard rips the fabric of time. WIth that out of the way...

    I've uploaded 2 roms for the Sharp FX Plus (ADS1) - one is based off the stock 2.2.2 (Holo launcher, init,d, etc..) second rom is an updated version of the CyanogenMod 6.1.2 Z71 2.2.1 port I've been playing with (more on those here)

    Downloads:

    stock-based 2.2.2-acemod4

    cm6.1.2-port-beta7
    modified/slimmed google apps package
  8. AmauryRR

    AmauryRR Member

  9. AmauryRR

    AmauryRR Member

    Well, found out Sharp sold all rights to the FX Plus ADS1 to PCD Phones. In an email back form Sharp they refered me to asking PCD Phones about the source - PCD referred me back to Sharp. I've forwarded my emails from Sharp's support stating to ask PCD in hopes that they'll reply.

    Hopefully they'll know something about the 2.6.32.9-perf kernel sources, that would definitely help with developing Android for this device from source.

    More information on that here
  10. MrBigAxe

    MrBigAxe New Member

    AmauryRR, do you still have your ADS1? I'm about to root mine and was hoping things are going smoothly with yours.

Share This Page