Infotm(ic) / Sylvania Documentation

Discussion in 'TechVendetta ROM Developement' started by TechVendetta, Nov 20, 2011.

  1. TechVendetta
    Offline

    TechVendetta Junior Member Developer

    Joined:
    Aug 17, 2011
    Messages:
    197
    Likes Received:
    93
    Trophy Points:
    0
    Tablet / Device:
    Sylvania
    This is a place holder for where I will do a write-up on all the released and unreleased progress I have made and any other helpful tools, sources, and patches I have made.

    Eye-Candy:
    TechVendetta Andy portal background
    http://minus.com/mDiCWUe3n/1f

    CWR for infotm(ic) / Sylvania:

    Hey look, I actually finished it:
    NEW FEATURES:
    No more need for an external keyboard
    Fixed the warnings and mount issues
    More ui candy
    Background code for ota updates (in future)
    various other small tweaks

    Here's the new recovery ramdisk [3/27/12]: http://min.us/mbjJ9i3KhK
    Flash it with iuw as RECVRD.
    If you cant find the button combo for your model to boot recovery, then you need to root it, install a terminal and type su [enter] reboot recovery

    Tested on Sylvania 7" (sytabex7) and iCan 10"

    sdbootable method coming soon for devices that lost otg mode.

    Rom Manager should be able to reboot recovery too. But before you go messing with it trying to flash roms, be warned this has access to all partitions of the device (including boot) I'm not liable blah blah blah.

    Developer only tools:
    /

    Code:
    README:
    THESE FILES WERE DISTRIBUTED ON ANDROIDTABLETS.NET AND TECHVENDETTA.COM
    These binaries are gpl, however, the system images you build using them are not. (proprietary files)
    I'm not responsible for your use and or misuse of these tools or what you attempt to do with their output.
    
    32bit binaries:
    
    USAGE:
    chmod +x mkyaffs2image
    ./mkyaffs2image -c 4096 -s 128 -f system system.img
    
    
    Your working directory should contain the binary mkyaffs2image and a system folder to work with. If dumping from device,
    you must tar.gz the system folder before placing it on sd to preserve the symlinks. -f tries to fix them but sometimes cant.
    If you have an ius file, to get system.img use the ius editor found here on androidtablets.net, then:
    
    chmod +x unyaffs4k
    ./unyaffs4k system.img
    this dumps the contents of /system/ into the EXTRACTING_SYSTEM folder. 
    Next you need to copy everything into a folder named "system"
    make your changes, and rebuild.
    
    ALSO NOTE: you need a filesystem that supports symlinks so dont try this on a fat or fat32 partition.
    
    any questions at all, just send me a pm @ TechVendetta on androidtablets.net
    
    Also, once you get the hang of working with this stuff shoot me a pm and maybe I'll add you to my DEV circle on g+
    
    ~TechVendetta
    
    http://min.us/lpBLSwgZfXcro

    Documentation overview paper:
    Code:
     http://minus.com/lbp1UW7v4xQMzh 

    Bootable sd maker:

    The following download is a largely compressed archive.
    To open it, you will need to download 7zip (or use linux ;] )

    After you decompress it you will have two files.
    1) newsd.img (roughly 1gb)
    2) hddrawcopy portable exe

    You will need one micro sdcard you dont particularly care about.
    Preferably a 1gb card. This should not be your regular use sdcard, since if you forget to remove it, you will end up reflashing your device when you turn it on.

    Once you've found your sdcard, be sure you empty it since this will completely erase the card.
    Regardless of what size card you use, (1gb - 8gb) you will end up with only 705-740mb of space left.

    Simply use hddrawcopy to burn the newsd.img file to the micro sd via a card reader, then eject the card and reinsert it. The new filesystem will contain one folder named android which includes a readme and a flashable copy of the recovery ramdisk. If you have a copy of your stock ramdisk, you can trick recovery into booting automatically like so:

    1) rename your ramdisk.img to ramdisk.img.original
    2) rename recovery_rd.img to ramdisk.img
    3) eject the card
    4) flash to the device
    5) rename files back
    6) eject the card
    7) boot device, recovery automatically opens since its the main ramdisk now
    8) after backup/restore use the card to flash back the original ramdisk.img

    ALWAYS REMEMBER TO SAFELY REMOVE / EJECT THE SDCARD

    As I've said before some tablets (like the 7lp or some disgo's with the updater layout instead of recovery) will not boot with the recovery flashed and will required either an ius recovery or sdrecovery (by using the system, userdata, ramdisk, and uimage files extracted from your ius via iusedit) REMEMBER, you don't ever want to touch u0, I know its in the stock ius, but you never need to reflash it. EVER. The fact that your device still turns on is proof you should leave it be.

    Code:
     http://min.us/mzxMWC4RM 

    Linux flasher:

    Code:
     Currently doing a write-up and packaging / making more user friendly (less hackish) 
    Last edited: Jun 25, 2012
    • Like Like x 2
  2. sk8erwitskil
    Offline

    sk8erwitskil Junior Member

    Joined:
    Dec 21, 2011
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    san jose
    Tablet / Device:
    SYTABEX7
    i have been trying to get this working but cannot seem to get the usb keyboard to do anything once i boot into recovery. i want to map the buttons differently and was wondering if you had the source code for the recvrd.img? also want to do some dev on getting cyanogenmod ready for my sytabex7. been trying to unyaffs my system.img and whatnot but every time i try it says "broken image". i tried opening 11.2.1.5.2.0_beta4.ius in the ius_editor from this site and i also tried to "cat /dev/block/mtdblock3 > /mnt/sdcard/system.img" and both system.img do not unyaffs. any ideas why? thanks
  3. sk8erwitskil
    Offline

    sk8erwitskil Junior Member

    Joined:
    Dec 21, 2011
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    san jose
    Tablet / Device:
    SYTABEX7
    update: i was finally able to uncompress the system.img by opening it in hex editor and deleting all the bytes before the gzip header. i still cannot get the keyboard to work in recovery though.
  4. TechVendetta
    Offline

    TechVendetta Junior Member Developer

    Joined:
    Aug 17, 2011
    Messages:
    197
    Likes Received:
    93
    Trophy Points:
    0
    Tablet / Device:
    Sylvania
    Try booting with the keyboard plugged in. And try both ports. It definitely works.

    Sent from my LG-VM670 using Android Tablet Forum
  5. lavacano
    Offline

    lavacano Junior Member

    Joined:
    Dec 25, 2011
    Messages:
    10
    Likes Received:
    1
    Trophy Points:
    0
    I have a sytabex7-2 and am fed up with the chinese market.

    what versions of iuw have been tested? does it come with busybox? have you modified framework.jar so we dont need to use Market Enabler?
  6. sk8erwitskil
    Offline

    sk8erwitskil Junior Member

    Joined:
    Dec 21, 2011
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    san jose
    Tablet / Device:
    SYTABEX7
    i use iuw1.2 and it works for flashing .ius files but i cannot get the expert mode flashes to stick. i have compiled a kernel from source and flashed the zImage and when i rebooted it still had the same kernel. its weird.

    and i have tried both ports, booting with the keyboard plugged in and still cannot get the arrow keys to work. i would like to map the "menu" button to be the "down" arrow and the power button to be "select". that way i could at least scroll down to select options.
  7. sk8erwitskil
    Offline

    sk8erwitskil Junior Member

    Joined:
    Dec 21, 2011
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    san jose
    Tablet / Device:
    SYTABEX7
    i copied the kernel to my local folder and i cant even get the kernel to stick when i do "flash_image kernel /local/zImage". the command completes without errors but upon reboot still neville's kernel
  8. TechVendetta
    Offline

    TechVendetta Junior Member Developer

    Joined:
    Aug 17, 2011
    Messages:
    197
    Likes Received:
    93
    Trophy Points:
    0
    Tablet / Device:
    Sylvania
    The recovery is primarily for system zips. And you can't map power without changing a significant amount of code. In the future I might but right now its not a priority. The keys are mapped weird for keyboards too. When I find the mapping chart I made ill post it. Kernel flashes work only if they are packaged properly for your method of flashing. Iuw kernels are different from compiled kernels. If you have specifics you want to talk about then find me on g+ to chat sometime.

    Sent from my LG-VM670 using Android Tablet Forum
  9. lavacano
    Offline

    lavacano Junior Member

    Joined:
    Dec 25, 2011
    Messages:
    10
    Likes Received:
    1
    Trophy Points:
    0
    FYI: I cannot get my SYTABEX7-2 to work with OTG flashing. The USB never once has registered a device being connected, and I continually monitered dmesg. I've tried with and without the power adapter, both usb ports, different mini to a cables, different ports on the compo, tablet power on, off, menu + power at boot, menu + power + screen at boot, enabled USB debugging (which shouldn't matter). no avail. I have also tried with different ius's installed both stock and one from a synet7lp.
    Last edited: Jan 20, 2012
  10. TechVendetta
    Offline

    TechVendetta Junior Member Developer

    Joined:
    Aug 17, 2011
    Messages:
    197
    Likes Received:
    93
    Trophy Points:
    0
    Tablet / Device:
    Sylvania
    dmesg on the tab, or on a linux host?
  11. lavacano
    Offline

    lavacano Junior Member

    Joined:
    Dec 25, 2011
    Messages:
    10
    Likes Received:
    1
    Trophy Points:
    0
    linux host, I will hand it to virtualbox if it ever registered any devices.
  12. oneovakindoldys2
    Offline

    oneovakindoldys2 Junior Member

    Joined:
    Jan 10, 2012
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    us-ky
    Tablet / Device:
    sytabex7-2
    same here...tried everything
  13. TechVendetta
    Offline

    TechVendetta Junior Member Developer

    Joined:
    Aug 17, 2011
    Messages:
    197
    Likes Received:
    93
    Trophy Points:
    0
    Tablet / Device:
    Sylvania
    Well iuw wont work via wine so for a Linux host you'll need my Linux flasher which still lacks even a shell ui...

    Sent from my LG-VM670 using Android Tablet Forum
  14. lavacano
    Offline

    lavacano Junior Member

    Joined:
    Dec 25, 2011
    Messages:
    10
    Likes Received:
    1
    Trophy Points:
    0
    I run virtualbox iuw works from there, handing off usb to an sdcard reader. But the bigger concern is the sytabex7-2 does not register as a device in the usb at all. We all know that even if a device lacks drivers it will still show up in dmesg.
  15. lavacano
    Offline

    lavacano Junior Member

    Joined:
    Dec 25, 2011
    Messages:
    10
    Likes Received:
    1
    Trophy Points:
    0
    We'll just have to make an ius of any roms you make is that going to be a problem?
  16. TechVendetta
    Offline

    TechVendetta Junior Member Developer

    Joined:
    Aug 17, 2011
    Messages:
    197
    Likes Received:
    93
    Trophy Points:
    0
    Tablet / Device:
    Sylvania
    I could probably make an sdbootable install version and dd it, would that help?
  17. lavacano
    Offline

    lavacano Junior Member

    Joined:
    Dec 25, 2011
    Messages:
    10
    Likes Received:
    1
    Trophy Points:
    0
    That would be awsome.
  18. oneovakindoldys2
    Offline

    oneovakindoldys2 Junior Member

    Joined:
    Jan 10, 2012
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    us-ky
    Tablet / Device:
    sytabex7-2
    my sytabex7-2 is not recognized or even acknowledged by the pc. i have tried adb and nothing... i have tried xp,vista, and windows 7. i have tried every different cable as well. mine came stock with [av] 2.20, [hid] 11.2.3.1, [fid] dg2.2.1-7a3.b5. any help would be greatly appreciated!
  19. TechVendetta
    Offline

    TechVendetta Junior Member Developer

    Joined:
    Aug 17, 2011
    Messages:
    197
    Likes Received:
    93
    Trophy Points:
    0
    Tablet / Device:
    Sylvania
    secbulk is tricky to set up, it only will be active for a short time without interaction. In linux as root running lsusb and looking for an oscilloscope will tell you if you got it. If you already have a bootable sd, try putting the recovery image in the android folder as either recv_rd.img rec_rd.img or ramdisk.img (last resort) then in terminal emulator type su then reboot recovery.
  20. billykrystal245
    Offline

    billykrystal245 Junior Member

    Joined:
    Jan 8, 2012
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    33060
    Tablet / Device:
    sytabex7-2
    Science were having so many issues with decompiling the accual .ius file wouldnt ther be a way to use clockwork recovery to do a nandroid backup then use the back up to modify the sys.img and reflash via recovery lol i do know its not just that easy but it might be a round about way of getting it to work I know TechVendetta has bean working on getting custom roms on infotmic devices but im getting impatient i have checked for updates almost every day. i havent seen anything done in like 2 weeks id like to help if i can im not a rom dev but am a linux user with many programming skills i would like to know what scripts are manufacture specific so i can take a look at them i have gotten busybox on the device havent tryed clockwork recovery on my device cause ive read if it doesnt flash to the right partition it will brick the device I havent read anything that stated on how to make sure it doesnt flash to the wrong partition figured these tools might help someone out with development [TOOL] MTD-Utils for Android (incl. nanddump/nandwrite) - xda-developers these are the mtd util tools for repacking boot images id love to see some progress id like to see a kernal with the ram hack using modules of ram from graphics card to add to my sytabex7-2 measly 256mb of ram Thanks to techvendetta and all other devs that have spent time on this device.

Share This Page