Results 1 to 10 of 10

Thread: Allwinner A10 dev/kitchen ICS 4.0.3

  1. #1
    Member
    Join Date
    Mar 2012
    Location
    Lymm, United Kingdom
    Posts
    47
    Thanks
    6
    Thanked 2 Times in 2 Posts

    Allwinner A10 dev/kitchen ICS 4.0.3

    Hi,

    I'm a bit of a noob when it comes to Linux but i'm trying to take the Chinese based firware for my device unpack it, modify it and re pack it to make a English starting vanilla build.

    Let me begin, i've got a Ubuntu 12.04 install with ext4_utils. I've used a allwinner kitchen to extract the RFSFAT16_SYSTEM_000000000.fex file. I've used simg2img to convert it to original.img and then mounted it as tempdir. I can see the file structure but i can't make any changes as its all read only.. and here's where i'm stuck... what am i doing wrong?

    I used this guide but it doesnt explain how i modify the tempdir?

    Any help would be greatly appreciated.

    Thanks.
    Last edited by maddog1979; 04-22-2012 at 09:20 AM.
    Advent Vega VegaICS Beta 1
    Onda VI40 TNT V9 4.0.3 CWM V6 oc 1.2
    Iphone 4 IOS 5 jailbroken

  2. #2
    Veteran
    Join Date
    Apr 2012
    Posts
    1,277
    Thanks
    20
    Thanked 199 Times in 152 Posts
    When you open the tempdir do you right click and open as administrator?

  3. #3
    Member
    Join Date
    Mar 2012
    Location
    Lymm, United Kingdom
    Posts
    47
    Thanks
    6
    Thanked 2 Times in 2 Posts
    Whilst on Ubuntu?
    Advent Vega VegaICS Beta 1
    Onda VI40 TNT V9 4.0.3 CWM V6 oc 1.2
    Iphone 4 IOS 5 jailbroken

  4. #4
    Member
    Join Date
    Mar 2012
    Location
    Lymm, United Kingdom
    Posts
    47
    Thanks
    6
    Thanked 2 Times in 2 Posts
    I've sorted this ... the thing i'm struggling with now is once i've made changes to the output.img through the tempdir through nautilus i try to convery it back to sparse and the conversion completes BUT then when i re pack it into an image and flash the rom doesn't work and gets stuckk on boot animation. If if leave the file as ext4 and repack it.. it loads fine but the system image is huge.

    What am i doing wrong
    Advent Vega VegaICS Beta 1
    Onda VI40 TNT V9 4.0.3 CWM V6 oc 1.2
    Iphone 4 IOS 5 jailbroken

  5. #5
    Veteran
    Join Date
    Apr 2012
    Posts
    1,277
    Thanks
    20
    Thanked 199 Times in 152 Posts
    I had the same problem and for me it was the permissions. For some reason I never figured out, the permissions weren't holding on the altered/new files or they were being lost when I converted. There were two work arounds. One was I created a .cmd that chmod the correct permissions of the files i edited/replaced while the boot loop was running. Not great if you are planning to release the ROM but it works and you could try this to see if that is the issue you are having. The second was after I removed all the bloat from the ROM I was working I could either run an emulator, install the apps, then pull the files to the corresponding folder in the mounted image, or pull them directly from the pad to the mounted image. Again clunky but it worked. Then your converted repacked image should work. Another thing is also some of the scripts that come with the unimg tool can be funky. I stripped them down to just this for repack:


    Code:
    set IMG=%1%
    
    del /s image.img.dump\RFSFAT16_VRECOVERYFS_0000
    del /s image.img.dump\RFSFAT16_VBOOTFS_00000000
    del /s image.img.dump\RFSFAT16_VROOTFS_00000000
    del /s image.img.dump\RFSFAT16_VSYSTEMFS_000000
    
    FileAddSum.exe "image.img.dump/RFSFAT16_LRECOVERYFS_0000" "image.img.dump\RFSFAT16_VRECOVERYFS_0000"
    FileAddSum.exe "image.img.dump/RFSFAT16_BOOTFS_000000000" "image.img.dump\RFSFAT16_VBOOTFS_00000000"
    FileAddSum.exe "image.img.dump/RFSFAT16_LROOTFS_00000000" "image.img.dump\RFSFAT16_VROOTFS_00000000"
    FileAddSum.exe "image.img.dump/RFSFAT16_LSYSTEMFS_000000" "image.img.dump\RFSFAT16_VSYSTEMFS_000000"
    
    unimg -e image.img
    ren image.img new_%IMG%
    
    if exist image.img.dump rd /q /s image.img.dump
    There were a bunch of other variables that didn;t seem to do anything for the image I was working with.

  6. The Following User Says Thank You to Rabid1 For This Useful Post:

    Macktion (04-25-2012)

  7. #6
    Member
    Join Date
    Mar 2012
    Location
    Lymm, United Kingdom
    Posts
    47
    Thanks
    6
    Thanked 2 Times in 2 Posts
    Hi, thanks for the response.

    I can get the rom to work if i use simg2img to convert the RFSFAT16_SYSTEM_000000000 to output.img then mount loop it make changes but dont try to convert it back into sparse and just rename output.img to RFSFAT16_SYSTEM_000000000 and repack the rom.

    If i try to use ./mkuserimg.sh -s /home/Desktop/Android/ext4_utils ./Onda.img ext4 ./temp 512M it creates a .img file with a padlock on it.. (permissions). If i rename this to RFSFAT16_SYSTEM_000000000 and repack the root doesn't boot.

    Plus my rom leaving the ext4 in is 419mb and the original Onda firmware with the system images in sparse i'm unpacking is 280mb ....
    Advent Vega VegaICS Beta 1
    Onda VI40 TNT V9 4.0.3 CWM V6 oc 1.2
    Iphone 4 IOS 5 jailbroken

  8. #7
    Veteran
    Join Date
    Apr 2012
    Posts
    1,277
    Thanks
    20
    Thanked 199 Times in 152 Posts
    If you see the padlock I think it means the file is administrator only so the permissions wouldn't be correct. Are you running as admin when you run the command? maybe try opening terminal and running the command just as a user?

  9. #8
    Member
    Join Date
    Mar 2012
    Location
    Lymm, United Kingdom
    Posts
    47
    Thanks
    6
    Thanked 2 Times in 2 Posts
    Yeah i'm running as su, i don't think the commands will run without su.
    Advent Vega VegaICS Beta 1
    Onda VI40 TNT V9 4.0.3 CWM V6 oc 1.2
    Iphone 4 IOS 5 jailbroken

  10. #9
    Veteran
    Join Date
    Apr 2012
    Posts
    1,277
    Thanks
    20
    Thanked 199 Times in 152 Posts
    Quote Originally Posted by maddog1979 View Post
    Yeah i'm running as su, i don't think the commands will run without su.
    I don't use Ubuntu but in Mint I have to open the folder a locked file is in as administrator, then the file is no longer locked, and I can set the permissions to match the rest of the img files. When I exit out it is no longer locked. I notice it happens when I pull files from a Windows partiton on my computer.

  11. #10
    Member
    Join Date
    Mar 2012
    Location
    Lymm, United Kingdom
    Posts
    47
    Thanks
    6
    Thanked 2 Times in 2 Posts
    Ah i think i need to use nautilus and be able to change permissions on root owned files... i'm getting there.
    Advent Vega VegaICS Beta 1
    Onda VI40 TNT V9 4.0.3 CWM V6 oc 1.2
    Iphone 4 IOS 5 jailbroken

Remove Ads

Similar Threads

  1. [Sug] How about a TabletRoms.com Custom Rom Kitchen?
    By Grezvany13 in forum General Discussion
    Replies: 6
    Last Post: 05-30-2011, 02:34 AM

Search tags for this page

a10 flash kitchen

,
a10 flash kitchen tutorial
,

a10 kitchen

,

a10 rom kitchen

,
allwinner a10 7 inch 4.0.3 rom img
,

allwinner a10 kitchen

,
allwinner kitchen
,
allwinner kitchen windows
,
fileaddsum.exe
,
rom kitchen a10 tutorial
Click on a term to search for related topics.

Posting Permissions

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