yashsingh1/xdaforums huggingface dataset:
[Acer Iconia A500] bountyhunter644:
This is the error I am getting:

bmf@ubuntu:~$ cat apx.c

cat: apx.c: No such file or directory

bmf@ubuntu:~$ sudo su

[sudo] password for bmf:

root@ubuntu:/home/bmf# cd /home/bmf/Desktop/APX

root@ubuntu:/home/bmf/Desktop/APX# gcc apx.c -o apx -lusb-1.0

apx.c:1:8: error: expected declaration specifiers or ‘...’ before string constant

apx.c:1:29: error: expected declaration specifiers or ‘...’ before ‘*’ token

apx.c:1:51: error: expected declaration specifiers or ‘...’ before ‘*’ token

root@ubuntu:/home/bmf/Desktop/APX# gcc apx.c -o apx -lusb-1.0

apx.c:1:8: error: expected declaration specifiers or ‘...’ before string constant

apx.c:1:26: error: expected declaration specifiers or ‘...’ before ‘*’ token

root@ubuntu:/home/bmf/Desktop/APX#

I tried all three of the codes in my apx.c text file posted by eppeP to no avail....

Thoughts?
[Acer Iconia A500] psytr0nic:
No such file or directory

be sure you are in folder where your file is it ...

easy step is to copy folder in home . open terminal and type : ls to show what are there .
[Acer Iconia A500] bountyhunter644:
Yea, I finally figured out that. If you look a little further down in the terminal text i copied you'll see that after i got that message I finally navigated to the right directory. That's when I got that longer string of errors
[Acer Iconia A500] eppeP:
Check the contents of your apx.c, based on the messages it doen't contain what it should.

If you can't see what is wrong with it paste it.
[Acer Iconia A500] radarbill:
We endedup installing a new mobo, problem solved, thankyou one and all.
[Acer Iconia A500] sandoval:
I hope you guys can help me :) ?

I'm stuck at the acer logo, no luck flashing anything, keeps getting stuck.. I don't have the cpuid :(

I tried the trick with ubuntu, but I don't get a 15 char number.. I get: D7 E0 00 44 02 70 7C 03

I used a USB sniffer, I also get D7 E0 00 44 02 70 7C 03 (8 bytes) in the first request.. But how does this translate to the CPUID?????

Am I doing something wrong?
[Acer Iconia A500] eppeP:
That is not possible unless you modified it, the code does not write any spaces.

It is supposed to be 8 bytes, the confusing part is just that you are looking at the way the bytes are orderd in memory, which is not in the order you would print it as a number.

Rearanging those bytes we get 0x037C70024400E0D7 which looks to be in the normal range of UIDs.

Resulting in the SBK 0x82D66F00 0xE800C006 0x07492404 0x30772103.
[Acer Iconia A500] sandoval:
eppeP,

Thank you for the super fast reply! Yes I put the spaces in to count them in pairs..

I put the code into the EUU flash tool from acer to flash the tab. But it will not take the code, I can only enter 0x037C70024400E0 the D7 I can't enter.. The tool tell's me the code is wrong? The string in the tool can only be 16 chars long the code itself is 18?

---------- Post added at 08:14 PM ---------- Previous post was at 08:08 PM ----------

Ah,

Found it! I do not put in the 0X!! The code 037C70024400E0D7 WORKS!!! Thx for the help, tablet flashes now!!! I love you man!
[Acer Iconia A500] karthi3d81:
password for NVFlash_Acer_A500_7.201.01_EMEA_CSD

unzipping asks for password.. does any know it..

enter password for encrypted file A500CSD/bootloader.bin
[Acer Iconia A500] shadalee:
command error

help pls i have followedur guide thoroughly 14 times and i still end up with this;

apx.c:1:31: fatal error: libusb-1.0/libusb.h: No such file or directory

compilation terminated.

i think my problem might be with the libsub installation or maybe i am just not placing the files in the right places.

help pls i really need my acer back i am so damn desperate now :crying:
[Acer Iconia A500] eppeP:
Yes, libusb is not properly installed.

What files? Not libusb I hope?

Install libusb-1.0-dev (and the other dependencies) using the package manager.
[Acer Iconia A500] Dr.GM:
ubuntu@ubuntu:~$ cd Desktop

ubuntu@ubuntu:~/Desktop$ sudo su

root@ubuntu:/home/ubuntu/Desktop# gcc apx.c -o apx -lusb-1.0

root@ubuntu:/home/ubuntu/Desktop# ./apx
uid: 0x3806148417f4317

after a long adventure, i got UID = 0x3806148417f4317

but ...

non of any websites / applications ...want to accept it and convert it to me to SBK

i'm using Ubuntu 12.10 OS over 64 bits IS ...

what should be the next step ?
[Acer Iconia A500] JdgM3NT4L:
Did you remember to drop the "0x"?
[Acer Iconia A500] Dr.GM:
yes ... later after the post

thanks :)
[Acer Iconia A500] moizsami:
Hey please help me ..im doing all the steps right but im getting this messege"

ubuntu@ubuntu:~$ cd Desktop

ubuntu@ubuntu:~/Desktop$ sudo su

root@ubuntu:/home/ubuntu/Desktop# gcc apx.c -o apx -lusb-1.0

apx.c: In function ‘main’:

apx.c:22:17: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘uint64_t’ [-Wformat]

apx.c:5:5: internal compiler error: Bus error

Please submit a full bug report,

with preprocessed source if appropriate.

See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.

Preprocessed source stored into /tmp/ccMg8xZn.out file, please attach this to your bugreport.

root@ubuntu:/home/ubuntu/Desktop#

what does that mean? what am i doing wrong ?
[Acer Iconia A500] eppeP:
Based on the warning I would guess you are building on a 32bit system without having replaced the printout. That should not make gcc die though, run gcc with -save-temps and share the generated .i file.
[Acer Iconia A500] altrin:
V8-UNL-ICS-HC-bootloader-MULTI-cwm.zip 32MB

MD5: 33D6692A997649111995CB690EF73213

DONWNLOAD:

http://d-h.st/n3H
[Acer Iconia A500] guille_jtc:
YOUR HELP PLEASE ... acer iconia tab a100

I have not slept in days and can not find solution to my problem (ACER ICONIA A100) ... I found this forum that indicates how to find my cpuid .. and if he recovers or good I can say that if it is ... I've tried with Ubuntu 64 and 32 bit and I get the following:

uid: 0x37c704341df33d7

After converting my cpuid to sbk, I got the following

cpuid: 037c704341df33d7

sbk: 0xE6092103 0xB7151203 0x585CF601 0xA5AA6F00

But when running manually nVFlash not work, I get an error

by running the command:

nVFlash - sbk 0xA5AA6F00 0x585CF601 0xB7151203 0xE6092103

rcm version 0X4

Command send failed (usb write failed)

and off the tablet.

Someone please help me, according to what I read, this may not be that my cpuid why I get an error.

My tablet is an ACER ICONIA TAB A100, and use only two months.

Thank you for your prompt response,
[Acer Iconia A500] dibb_nz:
As long as you're removing the 0x on the "uid" before generating yr sbk then it 'should' work

rcm version 0X4

Command send failed (usb write failed)

As u posted this error indicates the wrong sbk other than that everything else looks fine
[Acer Iconia A500] eppeP:
Those are two different SBKs, which one are you actually trying to use? (and where did you get the other one)

0xA5AA6F00 0x585CF601 0xB7151203 0xE6092103 should be the one, assuming the A100 have SBKs allocated according to the same same algorithm. I'm not sure it has been shown that they do.
[Acer Iconia A500] guille_jtc:
Help me please Acer A100 hard brick

Ups sorry :D

sbk sorry first copy it wrong ... I put the second is correct ...

cpuid: 037c704341df33d7

sbk: 0xA5AA6F00 0x585CF601 0xB7151203 0xE6092103

but does not work in nVFlash I get the error that I discussed ...

could someone please tell me what is wrong? or for the A100 there is another method to extract the uid? the USBDeview I do not work when connecting just gives me the SNID number 14213664815 ...

Please help ... I need to revive my tablet. : S
[Acer Iconia A500] dibb_nz:
We cant be sure this method works for 100 thats the problem...if eppeP says hes not sure, then listen to him, he is a master at all this...

You havent given any other info what rom u were on what actually happened to yr tab, we might be able to suggest something else....

You need to start your own thread so other 100 users can see it and hopefully help you out....

You also might wanna google unbricking a100 there are some other good forums around

You're pretty much on your own in the meantime, and it wont be a quick fix so be patient.... ill have a look around for you but am gonna need some more info from you...

hang in there

rgds dibb
[Acer Iconia A500] Mafvtapatio:
Tablet RE-bricked :(

Hello!

First, I want to say thank you to everyone that has been helping noob people like me, really, thanks! :D

And this is my situation... my tablet (A500) got bricked spontaneously (I was checking Twitter and it freezed) two days ago with the same symptoms you described (stuck on Acer Logo, vibration when turn on), so I come here hoping for help and answers... and I found them!

I succesfully "restored" my tablet using the method that first post describes.

I used A500 APX Flash Tool, flashed the tablet and installed V7-Thor1.7.3.a500apx through the a500apx file.

Then my tablet booted the recovery and I tried to install a stock ROM, I made the wipe and then installed through update.zip...

But then my tablet died again... this time No Acer logo and when I turn on the tablet this do not vibrates, only the power button turn on...

What did I wrong? :/

I conected the tablet to my PC and turned on holding reset button and the PC recognized it as "Acer Picasso USB-Boot-Recovery" and in the taskbar appears like "APX".

To this point I don't want to make any other thing without be completely sure what is I should do...

Can you help me? If I repeat the process again (flash with A500 APX Flash Tool) that will make functional my tablet again?

Sorry for the long post and my bad English (Spanish is my native language).

Thank you to everyone and hope you can help me...
[Acer Iconia A500] dibb_nz:
not sure yr post belongs in this thread. ..

try reflashing apxflash.

why u want stock rom it sucks:)

if u have problems please start a new thread

rgds

dibb
[Acer Iconia A500] guille_jtc:
Acer Iconia Tab A100

Hi, thanks for your prompt response ...

Well I detailing the problem I have, and what I've done.

My tablet came with a HONEYCOMB version 3.2 and upgrade it to the latest version (4.0.3 Ice cream swandich), everything was working fine (2 months) until one day the tablet was inhibited ... and to turn off the tablet, and turn on the tablet ... remained in the Acer logo and no longer enter the system ...

- I tried the recovery mode, putting an update.zip file to sdcard, does not work ... probe some firmware but got no results.

-my tablet does not detect the MTP device driver, I have tried all the drivers of a100, a500 does not work, my tablet to connect to a computer, it detects as a Acer Iconia Tab A500, I tried all the drivers, and always device is a yellow icon.

- ADB mode does not work (error device not found) is that drivers are not installed either on the laptop or any other computer

- Fastboot command (fastboot oem unlock) is not working, the tablet just blinks and shows the acer logo ... the tablet is still locked.

And the last method is possibly my salvation APX mode

as I said, I never connect my tablet on my laptop, or another pc, so never got my CPUID ...

Searching and 1 month and a half ... I found this forum gives me the steps to get my uid and then have my cpuid, and then generate the SBK .. I was happy, thinking that this was already my salvation, but to test the nVFlash with sbk I got ... does not work, I get an error:

rcm version 0X4

Command send failed (usb write failed)

looking for answers to this error means, as they say it is because the sbk is incorrect.
[Acer Iconia A500] dibb_nz:
Thanx for info.....but u didn't mention Google..?????

"Iconia a100 unbrick”

Guess wot, they have their own forum here with HEAPS of info...I kindly suggest you go there and do some reading....
[Acer Iconia A500] psytr0nic:
A500 Unbrick process

Applicable to A100 also : http://xdaforums.com/showthread.php?t=1956119
[Acer Iconia A500] uglyjohny:
Why would you flash custom rom like "update.zip"??? Custom roms are flashed with their names, only reverting to stock rom is flashable under name "update.zip".

What you shoud do is manualy enter apx mode, download blackthund3r's apx tool and follow instructions, install custom recovery, download on sd card stock rom, rename it to update.zip and flash again

i don't need google, my wife knows it all
[Acer Iconia A500] guille_jtc:
Change the mainboard acer a100

If you've searched and found a lot of information on google, but nothing has worked, I opened a new thread with this topic ...

And I got some bad news, I thought I could get my tablet :( ... and I say there is no other way to buy a new motherboard

Now my question is if I buy a new motherboard, system installation do through that method? ... would be sure to buy it soon ...

Thank you.
[Acer Iconia A500] dibb_nz:
oh dear that is not good news at all - I think the price of the motherboard will be more than a new tab!!! Installing it will not be easy either....You could try selling it for parts perhaps, someone is bound to be wanting a new screen or something??
[Acer Iconia A500] marcin2010:
Guys i received my UID: 0x384018141206297 in ubuntu then i converted it to SBK by placing there 0384018141206297 and i get SBK : 0x8A6BD301 0x056E0700 0x21BDE402 0xD6B0F302 . But when im running v8 nvflash i get error after choosing (1,2,3 or 4) i get "Command send failed (usb write failed)" Drivers are ok . Whats the problem
[Acer Iconia A500] eppeP:
That SBK is for 0x0038401814120629, either whatever converter you used is broken or you entered it wrong.

The SBK you want is 0xE9FEC201 0x5FFBDB01 0x1BB13F03 0xC8022103.
[Acer Iconia A500] marcin2010:
I was using blackhunter's calc online and it gave me wrong sbk. When i used sbk calc tool it gave me right one
[Acer Iconia A500] Dhont:
Terminal help

K i need some answers ... am new to unbuntu but as i also have no other choise ...this is the method .. :/

i installed the packages and the apx.c file, am using the 12.10version of unbuntu

My question : i open terminal and type : dhont@ubuntu:~$ cd /home/dhont/desktop/apx' ... next line gives me

> "here i can type again i assume" so when i type :

> sudo su gcc apx.c -o apx -lusb-1.0 doesnt do much and get a new line staring with : >

can someone pls help me cuz am bit confused ..

tried different ways already .. as giving the command behind the directory ... i also just end up with .... >

pls help the terminal noob :)
[Acer Iconia A500] JP9497:
help please, i am new to ubuntu but pretty good with computers i am sure i installed the package but maybe not when i run the gcc apx.c -o apx -lusb-1.0 it returns this

root@tom-HP-2000-Notebook-PC:/home/tom/APX# gcc apx.c -o apx -lusb

apx.c:1:31: fatal error: libusb-1.0/libusb.h: No such file or directory

compilation terminated.

any help please i am running ubuntu 12.10
[Acer Iconia A500] eppeP:
That is not supposed to contain a single quotation mark, that is what messes up the rest for you.

---------- Post added at 11:21 PM ---------- Previous post was at 11:11 PM ----------

The file you are missing is part of the libusb-1.0-dev package, so you should probably double check that you have that installed.
[Acer Iconia A500] IchBins1978:
Failed to open device

Hey!

When i run ./apx it says

root@tillKubuntu:/home/till/Dokumente# gcc apx.c -o apx -lusb-1.0

apx.c: In Funktion »main«:

apx.c:22:17: Warnung: Format »%lx« erwartet Argumenttyp »long unsigned int«, aber Argument 2 hat Typ »uint64_t« [-Wformat]

root@tillKubuntu:/home/till/Dokumente# ./apx

Error: Failed to open device!

When i run lsusb it shows

root@tillKubuntu:/home/till/Dokumente# lsusb

Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 006 Device 002: ID 05fe:0005 Chic Technology Corp. Viewmaster 4D Browser Mouse

Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 001 Device 007: ID 0955:7330 NVidia Corp.

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

What is wrong? (sorry formyEnglish) I need help please
[Acer Iconia A500] Michale32086:
With afore apologies for opening up an old thread.....

Moscow Desire has been helping me in another thread rescuing a defunct A500... Despite that most gracious assistance and infinite patience I figured I would A> go bug someone else for a while :D and 2> go straight to the horses mouth (so to speak.... Hope that wasn't offensive.. :D)..

Ahem....

OK, now that I have extracted my foot from my mouth (fingers??) here's my dilemma...

I have an A500 that I had to do a firmware restore to get it to boot. I was surprised when I did a successful restore that the device was pattern locked..

You can refer to this thread:

http://xdaforums.com/showthread.php?t=2131327

... for the details...

MD put me on to this thread here as a way to obtain the UID and salvation.. For the device that is.. :D

So, I booted up into Ubuntu (haven't been in LINUX since Fedora) and followed the instructions...

I checked, re-checked and then checked all over again to make sure I had everything right..

But, when I ran 'gcc apx.c -o apx -lusb-1.0' I get the following errors....

apx.c:1:10: error: #include expects "FILENAME" or <FILENAME>
apx.c:2:10: error: #include expects "FILENAME" or <FILENAME>
apx.c:3:10: error: #include expects "FILENAME" or <FILENAME>
apx.c: In function ‘main’:
apx.c:10:5: error: unknown type name ‘libusb_context’
apx.c:10:27: error: ‘NULL’ undeclared (first use in this function)
apx.c:10:27: note: each undeclared identifier is reported only once for each function it appears in
apx.c:11:5: error: unknown type name ‘libusb_device_handle’
apx.c:14:16: warning: assignment makes pointer from integer without a cast [enabled by default]
apx.c:22:3: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default]
apx.c:22:32: error: ‘uint64_t’ undeclared (first use in this function)
apx.c:22:41: error: expected expression before ‘)’ token
apx.c:27:17: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default]
apx.c:32:13: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default]
apx.c:38:9: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default]

The horsepower on my workstation is a Corei7 with an Nvidia GeForce 550 Ti and 12G RAM...

I have read thru this entire thread for a similar issue described, but my eyes kinda glazed by page 4... I *DID* gather from all the other responses that my problem is likely a basic LINUX problem as opposed to an A500 specific problem. But I am not sure..

Any assistance would be most appreciated

Michale
[Acer Iconia A500] eppeP:
You proably don't have a 64bit system, replace the printout as described earlier in the thread.

I expect the APX device to have ID 0955:7820, there is no such device connected. If you belive 0955:7330 is the tablet in APX mode you can replace 7820 with 7330 in the code.
[Acer Iconia A500] Michale32086:
Hi eppeP. Thanx for the reply...

I did read about the x32/x64 issue. My MB is pretty high end, so I would expect it to be 64-bit.. But, just to try, I did switch the txt in the apx.c file with no luck..

OK, I think I am going to feel like an idiot here..

But am I supposed to have the A500 connected in APX mode when I compile the apx file?? The instructions seem to indicate that you compile from the apx.c file first and then plug in the A500 in APX mode..

Thanx again for the reply..

Michale
[Acer Iconia A500] Michale32086:
I shall indeed... :D

OK I see the problem..

In the current thread that we are in now (1st page), your code just has the:

#include

#include

#include

.... statements with nothing else after it..

Following the LINK on the first page to your actual post, that DOES have the statements as you indicate...

OK, NOW I think I have a handle on it.. :D

Michale
[Acer Iconia A500] eppeP:
It is not only a question of what the hardware supports, it is also about what the system you are running on top of it supports. If you run a 32bit OS you will be in 32bit mode even if the hardware supports 64bit.

That is not very descriptive.

If you are still getting a size warning that long is not the same size as uin64_t you did successfully not replace the printf.

No, the tablet does not have to be connected when you compile.

I do however assume it was connected when you ran lsusb (as it would be kind of pointless to include that information otherwise) and there is no device with the expected ID in that list.

When you run the program it will try to connect to a device with ID 0955:7820, if there is no such device available it will fail.

If you believe 0955:7330 (that is some NVidia device that you do have connected) is the tablet you can replace 7820 with 7330 in apx.c, recompile, and try to connect to that instead.
[Acer Iconia A500] Michale32086:
Actually, my mistake..

The TXT for the apx.c that appears to be in error was from the first page of this thread...

http://xdaforums.com/showthread.php?t=1624645

My bust...

Michale

---------- Post added at 03:45 PM ---------- Previous post was at 03:34 PM ----------

WOOT!!!!

Success!!

Once I actually had the correct apx.c file, it went perfect!!

Thanx a bunch, eppeP!!

Much appreciated....

Michale
[Acer Iconia A500] IchBins1978:
nothing.........

Thank you for answer!

Now i changed the script to

#include <libusb-1.0/libusb.h>

#include <stdio.h>

#include <stdint.h>

int main(void)

{

unsigned char data[64];

int received_length;

int r = 1;

libusb_context* ctx = NULL;

libusb_device_handle* dev_handle = NULL;

libusb_init(&ctx);

dev_handle = libusb_open_device_with_vid_pid(ctx, 0x0955, 0x7330);

if(dev_handle)

{

r = libusb_bulk_transfer(dev_handle, 0x81, data, sizeof(data), &received_length, 10000);

if (r == 0)

{

if(received_length == 8)

{

printf("uid: 0x%08X%08X\n", *((uint32_t*)data+1), *((uint32_t*)data+0));

}

else

{

r = 1;

printf("Error: We got %d bytes of data insetad of the 8 bytes we expected...\n", received_length);

}

}

else

{

printf("Error: USB read failed!\n");

}

libusb_release_interface(dev_handle, 0);

}

else

{

printf("Error: Failed to open device!\n");

}

libusb_exit(ctx);

return r;

than i run in Konsole and get this

root@tillKubuntu:/home/till/Videos# gcc apx.c -o apx -lusb-1.0

apx.c: In Funktion »main«:

apx.c:42:5: Fehler: expected declaration or statement at end of input

no apx file in directory after that

Any Idea?
[Acer Iconia A500] eppeP:
You are missing the closing curly bracket at the end.
[Acer Iconia A500] IchBins1978:
UHHH and now?

THANK YOU!!

The SBK Calculator gave me this Number

0xC22E7000 0xDE4B1000 0xD9B0F302 0x7F9F2103

And now? How can i flash a new Recovery and Rom (I have a Asus Tf 201). Which tool can i use?

Sorry for my stupid questions
[Acer Iconia A500] IchBins1978:
Nobody?

Can nobobody help me?
[Acer Iconia A500] metallforest:
Hello all, i got an iconia a500 and I think is bricked, I was seeing my pictures and suddenly the tablet hang, so I reset it and now it doen't boot at all! When I turn it on ACER logo appears then ANDROID logo but nothing else happens. I've tried to boot pressing Power and volume- but a message appears on the top left corner that says:

"Erasing Cache Partition before SD ppdate...

SD update cmd:recovery

--update_package=SDCARD:update.zip

Booting recovery kernel image"

After that an Android image apperas with a yellow triangle with a Exclamation sign appears the after a few seconds it reboots the ACER and ANDROID logos. Nothing more, nothing less. I'll try to make a video of it then upload it so you can see what I mean
[Acer Iconia A500] eppeP:
I don't see how this belongs in this thread, at which point do you have a problem retrieving the UID as described here?
[Acer Iconia A500] metallforest:
It was my bad dude, i didn't realize that this was the wrong place, i had like 30 tabs open last nigh, my bad. I'm sorry! :(