Register Hello & Welcome to AndroidTablets.net, is this your first visit?

Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 26
Thanks Tree3Thanks

Thread: File system structure - Info for investigation of Recovery - Bootable SD Card

  1. #1
    Senior Member
    Points: 485,962, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Overall activity: 4.0%
    Achievements:
    Veteran 150,000 Experience Points 100,000 Experience Points 50,000 Experience Points 1 year registered
    Awards:
    Posting Award

    Member #
    10570
    Join Date
    Dec 2010
    Posts
    627
    Thanked
    185 times
    Points
    485,962
    Level
    100
    Device
    Sylvania SYNET7LP

    File system structure - Info for investigation of Recovery - Bootable SD Card

    Work in progress to find a Recovery image to install with a Bootable SD Card

    Update -
    See How to manually update SYNET7LP/SYTABEX7 to Android 2.2 "Froyo"

    If this seems simplistic it probably is because of my limited knowledge. I am learning as I go and any assistance is appreciated. There are other forums devoted to development but this site has the most participation related to this specific device. In reviewing many many sources I have made some discoveries regarding this tablet since it has a InfoTM CPU as does the Flytouch II, WOWpad, SuperPAD, Mid Tablet PC, ZT-180, and the disgo Tablet 6000.

    The tablet has several devices which hold different parts of the file system. These can be identified using these commands.

    Code:
    C:\adb shell
    # cat proc/mtd
    
    dev:    size   erasesize  name
     mtd0: 00200000 00080000 "ramdisk"
     mtd1: 00600000 00080000 "kernel"
     mtd2: 08000000 00080000 "resv"
     mtd3: 0c000000 00080000 "system"
     mtd4: 3d800000 00080000 "userdata"
     mtd5: 04000000 00080000 "cache"
     mtd6: 1ff00000 00080000 "Local-disk"
     mtd7: 00100000 00080000 "panic"
    In reviewing a firmware update for another InfoTM device I found this description of the file system.

    Code:
    #[alias]     [device]              [device2]           [partition_name]  [mount_point] [file_system]
     BOOT:       NULL                  NULL                boot              NULL          raw
     KERNEL:     /dev/block/mtdblock0  NULL                kernel            NULL          raw
     RAMDISK:    /dev/block/mtdblock1  NULL                ramdisk           NULL          raw
     RECOVERY:   /dev/block/mtdblock2  NULL                recovery          NULL          raw
     SYSTEM:     /dev/block/mtdblock3  NULL                system            /system       yaffs2
     DATA:       /dev/block/mtdblock4  NULL                userdata          /data         yaffs2
     CACHE:      /dev/block/mtdblock5  NULL                cache             /cache        yaffs2
     LOCAL:      /dev/block/mtdblock6  NULL                local             /local        yaffs2
     SDCARD:     /dev/block/mmcblk0p1  /dev/block/mmcblk0  NULL              /sdcard       vfat
     TMP:        NULL                  NULL                NULL              /tmp          tmpfs
     PACKAGE:    NULL                  NULL                NULL              NULL          package
    This now explains why attempts using unyaff to open the image file created by dumping mtd2 have failed.

    Using this HOWTO: Unpack, Edit, and Re-Pack Boot Images

    The extracted ramdisk image from the Sylvania reveals the following file structure which will look familiar to anyone who's examined their device layout (image below). So we know that device mtd0 is in fact ramdisk.


    Name:  ramdisk7z.PNG
Views: 1104
Size:  26.0 KB

    In this post Firmware update 1480, instructions and download link, from a developers forum, they provide a link to a firmware of a similar device which includes instructions and utilities to create a bootable SD.

    Using the provided instructions and utilities from the downloaded file, I was able to create a SD card that boots!

    A 2 GB microSD was re-sized to 705 MB and the included "aben.start sector.001" file was incorporated into the "Clone Disk". It was then formatted FAT 32 with Format options - Quick Format checked. I copied only the uImage and userdata.img files to the card and inserted in tablet. Powering on the following was displayed.
    Name:  D2uPG3.gif
Views: 997
Size:  179.8 KB
    Booting from SD ...

    Burn file system finished

    Take off SD and reboot
    .

    Nothing was changed or burned in the process above. This was only a test for creating a bootable SD card that will work in this device once we have the correct image files. The test process DID NOT affect the original ability to do a complete factory reset.

    This as far as I have been able to take this effort. Any further insight to which of the images pulled from the Sylvania, if any, can be used in place of the images provided by in the example from the other device would allow creation of a working SD recovery for the Sylvania. A complete victory would be to find the magic combination which will all those missing an Recovery to successfully recover from SD.

    Where do we go from here to find/create the correct files for the Sylvania?
    Last edited by cfrockit; 04-25-2011 at 08:28 PM.
    cliffordtrue thanked this.

  2. # ADS
    Ads
    Circuit advertisement
    Join Date
    Always
    Posts
    Many

  3. #2
    Member Achievements:
    500 Experience Points 1,000 Experience Points 250 Experience Points 100 Experience Points 3 months registered

    Member #
    7971
    Join Date
    Dec 2010
    Location
    Michigan
    Posts
    85
    Thanked
    16 times
    Device
    Sylvania SYNET7LP
    cfrockit - right on! I just installed ubuntu linux on a spare PC and have made it to the point of unpacking the mtd0 image, which is in fact the ramdisk. I'm curious if anyone heavy into development would be able to pick apart the init files to tell us anything useful about this Sylvania tab.

    I followed the instructions at HOWTO: Unpack, Edit, and Re-Pack Boot Images - Android Wiki also, but ended up figuring out that the mtd0 image was a uImage so you need to use a hex editor to strip off the u-boot header (the 64 bytes before 1F 8B). The remaining file can be extracted with
    Code:
    gunzip -c ../mtd0a.img | cpio -i
    That's slightly different than the earlier versions of Android boot images that had a 2k header, kernal, and then compressed ramdisk, which it appears the howto was written for.

    I found http://buffalo.nas-central.org/wiki/...ract_an_uImage useful, but I didn't use their script.
    Last edited by ImagineThat; 03-15-2011 at 11:57 PM.

  4. #3
    Member Achievements:
    500 Experience Points 1,000 Experience Points 250 Experience Points 100 Experience Points 3 months registered

    Member #
    7971
    Join Date
    Dec 2010
    Location
    Michigan
    Posts
    85
    Thanked
    16 times
    Device
    Sylvania SYNET7LP
    I've dumped all 8 partition images and cannot unpack any of the ones that appear to be yaffs2 (like system or userdata). I tried unyaffs on all 8 for the heck of it, with no results.

    that's where I'm stuck.

    Nice work with the SD!

  5. #4
    Senior Member Achievements:
    1 year registered 1,000 Experience Points 500 Experience Points 250 Experience Points 100 Experience Points

    Member #
    19905
    Join Date
    Mar 2011
    Location
    Las Vegas, NV
    Posts
    209
    Thanked
    10 times
    Device
    Sylvania 7" Mini Tablet Express
    Quote Originally Posted by cfrockit View Post
    Work in progress to find a Recovery image to install with a Bootable SD Card




    A 2 GB microSD was re-sized to 705 MB and the included "aben.start sector.001" file was incorporate into the "Clone Disk". It was then formatted FAT 32 with Format options - Quick Format checked. I copied only the uImage and userdata.img files to the card and inserted in tablet. Powering on the following was displayed.

    Booting from SD ...

    Burn file system finished

    Take off SD and reboot
    .

    Nice.... My question is this: Using just those 2 files... what DID it do to your system? Did it wipe out your apps and boot to the screen calibrate tool? I wonder if using just those 2 files will reset my internal memory?... hummm.... i might have to try...
    The files you used were extracted from a SYNET7LP right? Or was it a SYTABEX7? And where did you put them on the SD? in the android folder like the insts in the link say? Or in the root?
    Can you post those files? I would like to use files I know came from the ex7 or the LP7 rather than the ones floating around from others...
    Nice work! Thanks again!
    Last edited by st0ne; 03-16-2011 at 01:12 AM.

  6. #5
    Senior Member Achievements:
    1 year registered 500 Experience Points 1,000 Experience Points 250 Experience Points 100 Experience Points

    Member #
    13076
    Join Date
    Jan 2011
    Location
    Caldwell, ID
    Posts
    174
    Thanked
    19 times
    Device
    Dell Streak 7, Google Nexus 7 ,Sylvania SYNET7LP
    Great job, cfrockit!

  7. #6
    Senior Member Achievements:
    1 year registered 1,000 Experience Points 500 Experience Points 250 Experience Points 100 Experience Points

    Member #
    19905
    Join Date
    Mar 2011
    Location
    Las Vegas, NV
    Posts
    209
    Thanked
    10 times
    Device
    Sylvania 7" Mini Tablet Express
    OK! After giving up and using a different SD card, the old I had was 2 gig and was used in an old phone and was throwing me errors.
    I now have a 4 gig SD and it cloned and formatted with out error. I followed the dirs you posted. with the "android" folder, and it worked the first time out of the gate!
    So when I put in the new SD and boot it goes through the burning images.
    When it's done it tells me to pop out the SD and reboot. I do, and first get a planet/space logo, then goes to a white screen. And Stays there.

    I am at the point were I need someone with a SYTABEX7 to ADB the files off of it and put together a folder like the "android" one!


    I am now going to try every combo of IMG file I have here and see what I can get.

  8. #7
    Senior Member
    Points: 485,962, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Overall activity: 4.0%
    Achievements:
    Veteran 150,000 Experience Points 100,000 Experience Points 50,000 Experience Points 1 year registered
    Awards:
    Posting Award

    Member #
    10570
    Join Date
    Dec 2010
    Posts
    627
    Thanked
    185 times
    Points
    485,962
    Level
    100
    Device
    Sylvania SYNET7LP

    Partial success!

    Quote Originally Posted by st0ne View Post
    I do, and first get a planet/space logo, then goes to a white screen. And Stays there.
    This must be the Flytouch firmware boot splash image where our is the Sylvania animation so you've proved something burned. Is the any different reaction when applying the three finger factory reset?

    Quote Originally Posted by st0ne View Post
    I am at the point were I need someone with a SYTABEX7 to ADB the files off of it and put together a folder like the "android" one!
    As you are aware the images for the SYNET7LP are here Porting Clockwork Recovery to Tablets no one has offered up the EX7 dumps yet.


    Quote Originally Posted by st0ne View Post
    I am now going to try every combo of IMG file I have here and see what I can get.
    One thought - the file names might need to match what was in the example folder.

    Good luck

  9. #8
    Senior Member Achievements:
    1 year registered 1,000 Experience Points 500 Experience Points 250 Experience Points 100 Experience Points

    Member #
    19905
    Join Date
    Mar 2011
    Location
    Las Vegas, NV
    Posts
    209
    Thanked
    10 times
    Device
    Sylvania 7" Mini Tablet Express
    All of the links in that post lead to Dropbox 404 error file not found. So I don't have access to them. if you have them can you post them? Or anyone who got them before they got "lost"?

    I am seeing around the net different file names for things. I have seen uImage zImage ramdisk.img recovery.img recovery_rd.img (that one looks like it's the ramdisk renamed or it's the RD AND the recovery data) I don't know what files the SY tabs need to flash.
    The files that bricked my tab were Ramdisk.img/recovery.img/system.img/userdata.img and uImage with no file extension.
    From the prompts on the flash screen the things that were updated were the file system and the system. I didn't see any reference to userdata or recovery.
    I can not get either of my SYTABEX7's to connect to my PC with ADB. I can't seem to find the right drivers for WIN7 I think. I have tried all 3 of the ADB drivers: theAdb the bootloader and the composite drivers all fail to allow ADB to see my devices.

  10. #9
    Member Achievements:
    500 Experience Points 1,000 Experience Points 250 Experience Points 100 Experience Points 3 months registered

    Member #
    7971
    Join Date
    Dec 2010
    Location
    Michigan
    Posts
    85
    Thanked
    16 times
    Device
    Sylvania SYNET7LP
    Quote Originally Posted by st0ne View Post
    All of the links in that post lead to Dropbox 404 error file not found. So I don't have access to them. if you have them can you post them? Or anyone who got them before they got "lost"?
    I have all my images saved, I can work on posting them to some file sharing website, any ideas on a good FREE one?

    Quote Originally Posted by st0ne View Post
    I am seeing around the net different file names for things. I have seen uImage zImage ramdisk.img recovery.img recovery_rd.img (that one looks like it's the ramdisk renamed or it's the RD AND the recovery data) I don't know what files the SY tabs need to flash.
    The files that bricked my tab were Ramdisk.img/recovery.img/system.img/userdata.img and uImage with no file extension.
    I understand your confusion. The images for the Sylvania are named as show up with you run "cat /proc/mtd", as cfrockit has shown in the first post here. Every device seems to name thinsg a little different. Here are some pointers to relate all these names to the Sylvania (anybody corret me if I'm wrong):

    mtd0 is named "ramdisk" and is the boot image/partition. It is a uImage file.

    mtd2 is most likely the recovery, but is named "resv" on this device for some reason. I haven't figured out what file type it is, I assumed yaffs2 but possibly it's some raw format??

    kernal, system, userdata are all what they say, and are similair names as other devices. Kernal is a uImage I believe; system and userdata appear to be yaffs2 but I cannot seem to unpack them.


    Quote Originally Posted by st0ne View Post
    I can not get either of my SYTABEX7's to connect to my PC with ADB. I can't seem to find the right drivers for WIN7 I think. I have tried all 3 of the ADB drivers: theAdb the bootloader and the composite drivers all fail to allow ADB to see my devices.
    The only way that we've been able to get the SYNET7LP's to connect to ADB is through wifi, not through a direct USB connection. The instructions are floating around, I'll look for them and edit my post. Although, you need a working tablet with a wifi conenction for this to work, which is the big disadvantage of this over a direct USB connection.

  11. #10
    Senior Member Achievements:
    1 year registered 1,000 Experience Points 500 Experience Points 250 Experience Points 100 Experience Points

    Member #
    19905
    Join Date
    Mar 2011
    Location
    Las Vegas, NV
    Posts
    209
    Thanked
    10 times
    Device
    Sylvania 7" Mini Tablet Express
    Yes the one EX7 is bricked right now from me flashing an android system that wasn't compatible. I have another one that I might have to set up with ADB WiFi... I ran into my 0.00b free mem on my bricked tab BEFORE I got to trying it WiFi.
    My goal here is to get all the stock system files off the working one and flashing it to the bricked one with the SD....
    Am I wishing on a star here?


 
Page 1 of 3 1 2 3 LastLast

Ads:

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. Replies: 52
    Last Post: 07-07-2013, 11:24 AM
  2. Android System Info - Display Device Information
    By xaueious in forum Android Tablet Usage, Tips & Tricks
    Replies: 19
    Last Post: 05-05-2012, 12:48 AM
  3. S7 Detailed System Configuration / Hardware info.
    By Balcora in forum Huawei Ideos S7 Development
    Replies: 23
    Last Post: 05-13-2011, 06:33 AM
  4. Replies: 43
    Last Post: 02-22-2011, 08:24 PM
  5. Read-Only File System
    By TechRemedy in forum Huawei Ideos S7
    Replies: 9
    Last Post: 01-08-2011, 03:06 AM

Search tags for this page

android file system structure

,
android tablet burn file system finished
,
android tablet file structure
,
android tablet file system
,
burn boot files for tablet on sd card
,
galaxy tab internal sd dd image ext4
,
m009f burn file system finished fail
,
sylvania tablet boot file
,
sylvania tablet recovery file download
,
sylvania tablet recovery from sd
,
take off sd and reboot
,
take off sd and reboot sylvania
Click on a term to search our sites for related topics.
Powered by vBulletin® Version 4.1.11
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Android Tablets.net is not affiliated or associated with Google, Android Project or any of the device manufacturers listed on this site.
We are simply an enthusiast site.
All times are GMT -5. The time now is 04:34 PM.