Author Topic: How to Unpack / Repack Ainol Allwinner images  (Read 55777 times)

0 Members and 1 Guest are viewing this topic.

Offline c19932

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Received: 0
  • Posts: 1
  • Karma: +0/-0
  • Uber-Noobie
  • Tablet / Size / Model: craig
Re: How to Unpack / Repack Ainol Allwinner images
« Reply #30 on: January 19, 2013, 02:17:16 AM »
thank you for the post, perceptor. I have 1 question...

I can't get the python script to work.

i tried: 
Code: [Select]
python C:\Python33\simg2img.py C:\Python33\system.imgbut I get
Code: [Select]
  File "C:\Python33\simg2img.py", line 44
    print "No file is designated!!"
                                  ^
SyntaxError: invalid syntax

could you explain again how I could get the script to work ? thank you so much. I have already ensured that both the script and the system.img is in the same folder.

Offline Stephan

  • TechKnow Owner
  • Administrator
  • Uber Member
  • *****
  • Thank You
  • -Given: 3697
  • -Received: 1128
  • Posts: 9633
  • Karma: +2278/-106
Re: How to Unpack / Repack Ainol Allwinner images
« Reply #31 on: January 19, 2013, 11:34:07 AM »
Hey c19932,

I don't know how to fix that but I do know there are x86 bins of simg2img, you might want to google those down to achieve the same goal.

HcH

Offline Glitch_Neo

  • Hack it, Break it, Fix it...
  • Uber Member
  • *****
  • Thank You
  • -Given: 246
  • -Received: 201
  • Posts: 678
  • Karma: +225/-0
  • ☻☻ Please Support Techknow.me ☻☻
  • Tablet / Size / Model: B1-760HD, B1-730HD, A70x (*Still lol*) Nexus 7, Various TV Boxes.
Re: How to Unpack / Repack Ainol Allwinner images
« Reply #32 on: May 18, 2013, 11:21:53 AM »
very interesting thread,   :android-rules:

I need to mooch around the other forum sections a little more.   thanks for all the info here.

Offline mrpap

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Received: 0
  • Posts: 1
  • Karma: +0/-0
  • Uber-Noobie
  • Tablet / Size / Model: Samsung Galaxy Tab 2 10.1 3G, Novo7 Aurora
Re: How to Unpack / Repack Ainol Allwinner images
« Reply #33 on: August 23, 2014, 12:55:18 PM »
Hello,

I know is's been some time since the last post but I have to revive this post since I have a problem with the python script presented on this thread.

I followed the steps and tried two different original .img files from Allwinner, but I get the same error. I run the python script (Windows 8.1) everything looks good and it creates a "tmp.img". When I try to mount or do anything with this new .img file, I get the same error that it is corrupted. What could be the problem? am I doing something wrong?

Thank you guys! I really need to fix this cause I have a tablet with no touchscreen

 

Powered by EzPortal