yashsingh1/xdaforums huggingface dataset:
[Acer Iconia Tab A100] NoSudo:
Yea Im looking at the script right now. It looks like a stock script complete with (c)1995 Linus Torvalds.

Inside the script looks like it checks a few bin directories for an install executable, if it doesnt find them it checks the image file to figure out if its compressed then, echos a message, it does some file checks(looks like maybe version check, then backs that file to .old and catenates another file over it's active file name. Then it checks System.map-Kernel Version and makes a backup of it. Then it copies Kernel Map file over the active System.map then it checks to make sure /sbin/loadmap is an executable then it loads that to install it. If it doesnt find loadmap as an exec file it will echo "You have to install it yourself" and end.

LOL at least that looks like it would do.
[Acer Iconia Tab A100] vache:
Someone already try to play with nvflash ?
[Acer Iconia Tab A100] Icewyng:
That is what I was wondering as well. We were using this quite a lot with the Gtab to flash ROMs.

I think I will give it a try.

Also, checking in the init.vangogh.rc, I have seen a service called acer_log. Do you think it could be playing the same role as logwrapper?

Edit: This is what I get in APX mode:

Nvflash started

rcm version 0X4

Command send failed (usb write failed)

Nvflash started

[resume mode]

connection failed NvError 0x30010

So, I guess we have the same problem that you have with the A500. :)
[Acer Iconia Tab A100] vache:
It's used to have additional logs when reporting issues to Acer.

It's pretty useless and could be use for the 2nd init method.

Also, could you give me the UID of your device ? (to try something with nvflash)
[Acer Iconia Tab A100] Icewyng:
When I saw that, I thought it would be very useful for the 2nd-init method somehow.

37c708943603497 (The adb devices #)

For those who wants to know what we are talking about:

The inner workings of Secure Boot key & NvFlash
[Acer Iconia Tab A100] utctigers:
Good work fellas......
[Acer Iconia Tab A100] vache:
Use this : http://fileshost.fr.mu/download/89/A100_NVFLASH.zip.html

Unpack somewhere, and launch this nvflash from the folder where you unpack files with :

nvflash --bct flash.bct --setbct --odmdata 0x100c0105 --configfile flash.cfg --bl bootloader.bin --sbk 0xA1F66F00 0x9471F601 0x7B381203 0x78522103 --sync

The bootloader should be loaded and you should see a big ascii Acer logo.

Let me know how it goes.
[Acer Iconia Tab A100] Icewyng:
This is what I get:

nvflash configuration file error: partition/ unknown partition type

Also forgot to tell you I use Linux Mint since you sent me Windows drivers :)

Edit: Got my Linux NVFlash from my Gtab stuff and this is what I have now:

Nvflash started

dfd_filename is (null)

dfd_filename is (null)

USB device not foundNVFLASH DOWNLOAD FAIL
[Acer Iconia Tab A100] vache:
Here you go for Linux version : http://fileshost.fr.mu/download/90/NVFLASH_Linux.zip.html
[Acer Iconia Tab A100] Icewyng:
Still giving me:

Nvflash started

dfd_filename is (null)

dfd_filename is (null)

USB device not foundNVFLASH DOWNLOAD FAIL

Checked everything and it was all setup correctly.
[Acer Iconia Tab A100] vache:
Try to execute this (tablet pluged in and in APX mode):

for i in $(hal-find-by-property --key 'info.vendor' --string 'NVidia Corp.')
do
sysfspath=$(hal-get-property --udi "$i" --key 'usb_device.linux.sysfs_path')
len=$(expr length "$sysfspath")

temp1=`echo "$i"|cut -d_ -f3`
temp2=`echo "$i"|cut -d_ -f4`
if [ "$temp1" = "955" ] && [ "$temp2" = "7820" ]; then
gotdevice="true"
devfile=$(hal-get-property --udi "$i" --key 'linux.device_file')
echo devfile
fi
done

then share the ouput.
[Acer Iconia Tab A100] Icewyng:
I will post the result as soon as I get up.
[Acer Iconia Tab A100] vache:
Updated version :

#!/bin/sh

olddir=`pwd`

echo " " >> log.txt
echo "detect_device start..." >> log.txt

gotdevice="false"
while true
do
sleep 1
for i in $(hal-find-by-property --key 'info.vendor' --string 'NVidia Corp.')
do
sysfspath=$(hal-get-property --udi "$i" --key 'usb_device.linux.sysfs_path')
len=$(expr length "$sysfspath")

temp1=`echo "$i"|cut -d_ -f3`
temp2=`echo "$i"|cut -d_ -f4`
echo "$temp1" >> log.txt
echo "$temp2" >> log.txt
gotdevice="true"
devfile=$(hal-get-property --udi "$i" --key 'linux.device_file')
echo "got proper device: $devfile" >> log.txt
break
done

for i in $(hal-find-by-property --key 'info.vendor' --string 'Acer, Inc.')
do
sysfspath=$(hal-get-property --udi "$i" --key 'usb_device.linux.sysfs_path')
len=$(expr length "$sysfspath")

temp1=`echo "$i"|cut -d_ -f3`
temp2=`echo "$i"|cut -d_ -f4`
echo "$temp1" >> log.txt
echo "$temp2" >> log.txt
gotdevice="true"
devfile=$(hal-get-property --udi "$i" --key 'linux.device_file')
echo "got proper device: $devfile" >> log.txt
break

done

done

echo "found device: $devfile" >> log.txt
echo "success"
echo "$devfile"
exit 0

Interesting informations will be output to log.txt.
[Acer Iconia Tab A100] crossix:
I tried this in windows, here's what happened:

C:\Documents and Settings\Kermit\Desktop\Desktop Items\ACEROOT\A100_NVFLASH>nvflash --bct flash.bct --setbct --odmdata 0x100c0105 --configfile flash.cfg --bl bootloader.bin --sbk 0xA1F66F00 0x9471F601 0x7B381203 0x78522103 --sync

Nvflash started

rcm version 0X4

Command send failed (usb write failed)

but my tab's uid is 37c624942e043d7
[Acer Iconia Tab A100] NoSudo:
I will see I can give this a try later from Linux and post the result.

Thank You, again guys. I have only had time to scan through the info, but it sure seems like this is starting to progress.

I took another look at the porting clockwork recovery again. I was too tired to read lastnight(sorry). Anyway it seems to want recovery2.img(/dev/block/mmcblk0p1) for the boot.img and recovery1.img(/dev/block/mmcblk0p2) as the recovery.img Does that sound right to everyone?

I ran into an error though with when attempting to

mkvendor.sh Acer A100 ~/A100bootimg/recovery2.img

So I am in the process of running repo then I will rebuild the tools, etc. I will be in and out all day so I may just let repo run again and see if can get the rest of the files Im apparently missing. Please forgive my noobness.
[Acer Iconia Tab A100] vache:
SBK is based on UID on Acer device, so each devices have a different SBK.

Try with 0x6D9E1E00 0x181EC501 0xF7572103 0x44312103.

nvflash --bct flash.bct --setbct --odmdata 0x100c0105 --configfile flash.cfg --bl bootloader.bin --sbk 0x6D9E1E00 0x181EC501 0xF7572103 0x44312103 --sync
[Acer Iconia Tab A100] crossix:
I'm starting to believe that the adb devices ID# isn't the UID. When I tried the EUU_SBK upgrade and put that ID in it's telling me it's too short. When I strip of the 37 in front and try 0x0c624942e043d7 , it tells me its the wrong CPU ID. I don't have my linux box setup to do nvflash to try and grab the correct ID from that. I don't know of any other way to get the CPU ID :(
[Acer Iconia Tab A100] vache:
You should not remove 37, try with 0x037c624942e043d7 or 0x37c624942e043d7 or 037c624942e043d7.

Edit : should be ok with 037c624942e043d7

If you can downgrade, itsmagic may work also for A100.
[Acer Iconia Tab A100] crossix:
I've tried each of those ids but unfortunatly all of them tell me its either an incorrect cpu id (or its too long to fit in the box) has anyone ever gotten the euu apx rom to flash?
[Acer Iconia Tab A100] mvan4310:
I was thinking of trying itsmagic, Ive downloaded it all and whatnot. Crossix, where is the Euu apx rom at to download? Ill see if I can flash it and what I can do.
[Acer Iconia Tab A100] vache:
You can check :

adb shell cat /sys/EcControl/UUID

adb shell getprop ro.aceruuid
[Acer Iconia Tab A100] J-22:
my uid is 37c704040e070d7 according to adb device

C:\android-sdk-windows\platform-tools>adb shell cat /sys/EcControl/UUID

44b13cddb99011e093ae742f687de1f2

C:\android-sdk-windows\platform-tools>adb shell getprop ro.aceruuid

000000000000000742f687de1f2

I get the same results as crossix running nvflash guess its related to incorrect sbk, how do you generate these vache?
[Acer Iconia Tab A100] crossix:
You can run the euu apx and it generates a log, when you try to flash the rom the sbk? Id is written to this log. So if you try to flash the euu rom and it returns invalid cpu id then the sbk id will be wrong in the log file.
[Acer Iconia Tab A100] mvan4310:
Im going to flash the EUU SBK on your site Vache and see what can be done. I noticed there was a version prior to 1.008 up there, but the link was dead.
[Acer Iconia Tab A100] vache:
Just had a look at both EUU for A500 and A100, the method to generate the SBK is the same, based on a shared function from Pica_Func.dll. Also complete wizards code is really closed.

Since the DLL is the same in both EUU, i can't understand why it works for A500 and not A100 :/
[Acer Iconia Tab A100] crossix:
I think at this point its just a matter of finding where the cpuid is for the device.. I tried both the UUID and getprop with no luck :(

It's not looking good.

Here's the output from those two commands and I've attached my log from my last attempt. I've tried 4 different combos with no luck.. each time the euu rom tells me invalid cpuid...

cat /sys/EcControl/UUID

e3ff17b8ce3011e0bf6d742f6897e6d1

getprop ro.aceruuid

000000000000000742f6897e6d1
[Acer Iconia Tab A100] Icewyng:
This is what I have from the sh:

detect_device start...

955

7820

got proper device: /dev/bus/usb/002/005

Looks promising.

---------- Post added at 05:54 PM ---------- Previous post was at 05:01 PM ----------

If I read your log correctly, it seems it cannot find your device. Do you have the A100 windows USB drivers installed?

cat /sys/EcControl/UUID

45f212d5015a11e19ecee0b9a5dd9103

ro.aceruuid:

000000000000000e0b9a5dd9103
[Acer Iconia Tab A100] Icewyng:
Do you mean this?

<4>[ 0.000000] CPU: ARMv7 Processor [411fc090] revision 0 (ARMv7), cr=10c53c7f

<4>[ 0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache

Also, Vache, is the SBK process similar than the Asus Transformer one?
[Acer Iconia Tab A100] NoSudo:
Im back at my System. I had some issues with running repo sync when I went to redo the tools.

I made some changes to my sysctl i hope fixes the issue. If that still doesnt work I guess I will try to mirror the whole thing on my local system. then sync to the mirror.(had I known I could do this I would have tried it lastnight hehe) waiting on those files just to start over is irritating.:confused:
[Acer Iconia Tab A100] masterpker2:
I found the partition config for the a100 thought maybe it would help the cause let me know if this would be use full
[Acer Iconia Tab A100] crossix:
You have to read the log all the way down, the EUU APX Rom is a windows executable that starts off with your device turned on and then reboots it when the rom detection process starts. It then prompts you for your cpu id (which is the missing piece to the puzzle) and builds a sbk for your id. It then tries to authenticate the sbk, but then for some reason fails and locks the nvflash session so nothing further can be done to it and then the EUU Rom installer continues to run searching for your device. (see below)

Detect Device 2 Start

15:45:26

Device 2 connected Successfully

15:45:27

EUUs Compare

15:45:27

Step: Upgrading

15:45:27

Step: SBKInput

15:45:32

SBKInput

15:45:32

0f6d742f6897e6d1

15:45:32

0x0f6d742f6897e6d1

15:45:32

0xB5A50F00 0xDD1CC206 0x61332504 0x7B9B4003

15:45:32

--sbk 0xB5A50F00 0xDD1CC206 0x61332504 0x7B9B4003 --go

15:45:32

Download Image Start

15:45:32

EUUs Download Major Image

15:45:32

--bct flash.bct --setbct --odmdata 0x300A0011 --configfile flash.cfg --create --bl bootloader.bin --sbk 0xB5A50F00 0xDD1CC206 0x61332504 0x7B9B4003 --go

15:45:32

Step: Upgrading

15:45:32

NVFLASH STARTED

15:45:32

COMMAND SEND FAILED

15:45:32

Upgrade Successfully

15:45:32

Step: Fail1

15:45:33

Detect Device 2 Start

15:45:33

No matching devices found.
[Acer Iconia Tab A100] Icewyng:
That'll teach me to read the whole log.

Did you try the number next to the ARM on the first line I posted? (411fc040)

I will do some more research to find it. Should be in the dmesg or in the /sys/ directory.
[Acer Iconia Tab A100] crossix:
I'm no spring chicken when it comes to these things ;)

I've tried a lot of different combos so far... the arm id you posted, the tab's serial #, the id that comes up with adb devices, the aceruuid, the prop id and even an id I found in a windows error log, tired adding a 0 in front of some of the ids that were too short, but so far all with no luck same thing "invalid cpu id" so I'm stumped.. I'm out of ids / combos to try.

Edit: I wonder if you give acer support your serial number if they'll spit out the cpu id for the euu roms..
[Acer Iconia Tab A100] eww245:
So got a bit more progress with 2nd-init. It at least ran without a full reboot, but it freezes at the lockscreen just before the wallpaper shows. I think it may need a patch for Honeycomb. The original was made for Froyo where the heap address was executable. Since Gingerbread the heap is no longer useable and it needs an offset to another location.

It did spit stdout this time and it can't find the execve needed for the code injection. Theres a few more things I could try like killing processes and umounting filesystems. But I'm assuming it will need a different offset than GB uses.

There is another modified 2nd-init xdaforums.com/showthread.php?t=1418172 for the Nook Tablet that's supposed to be "simpler". Though it doesn't look it to me.

I won't get a chance to try anything else until tomorrow sometime. Gotta take this one back, there's dirt or something stuck behind the screen, and tomorrow is my 14 days at BB. Guess it's time to try some adb "nandroids"
[Acer Iconia Tab A100] vache:
Wich EUU are you using ?

So try with :

nvflash --dfd /dev/bus/usb/002/005 --bct flash.bct --setbct --odmdata 0x100c0105 --configfile flash.cfg --bl bootloader.bin --sbk 0xA1F66F00 0x9471F601 0x7B381203 0x78522103 --sync

You can run the script again before launching the cmd to be sure the device is still on /dev/bus/usb/002/005.
[Acer Iconia Tab A100] Icewyng:
As soon as I get home, I will try it out

Crossix: open your EUU and check in the folder c:/users/[username]/appdata/local/temp for a folder called 7zxxxx.tmp. From what I have read, you need to open the file CPUID & change the line inside with your UID, with 0x0 in front.
[Acer Iconia Tab A100] Icewyng:
Making some headway:

Nvflash started

dfd_filename is /dev/bus/usb/002/005

dfd_filename is /dev/bus/usb/002/005

Get 64bit UID from RCM: fuseid=037c708943603497

rcm version 0X4

Command send failed (usb write failed)

NVFLASH DOWNLOAD FAIL

This is what I get from what you sent me.
[Acer Iconia Tab A100] vache:
That's strange, your CPUID seems correctly reversed from the SBK, so the SBK is the good one, but it's not enought :/
[Acer Iconia Tab A100] Icewyng:
Just curious... that was from the UID and not the ADB devices number right?

This is what lsusb gives me: Bus 002 Device 004: ID 0502:3348 Acer, Inc.. Could that be the reason why?

Edit: Would these settings have any effects as well:

[ro.runtime.firstboot]: [1328655231461]

[ro.secure]: [1]

[ro.serialno]: [14507433115]
[Acer Iconia Tab A100] vache:
I was wrong on previous post, the UID is read from the device directly, so nvflash seems to connect to the device.

About lssusb, it returns the VID (vendor ID, 502 = Acer) and the PID (ProducID, 3348 = A100). Nothing to do with the CPUID.

Edit : i just understand what you mean. you mean dfd should be something like /dev/bus/usb/002/004 ?

Maybe the serialno can be usefull.
[Acer Iconia Tab A100] Icewyng:
Yes, I was just checking. the fuseid corresponds to the adb devices number. I assume that would be correct?

Included is a txt from a ADB Bugreport if you need it: buga100.log
[Acer Iconia Tab A100] vache:
Yes it's correct.

Are you sure you launch nvflash commands in APX Mode ?

Cause lsusb should return something like :

Bus 002 Device 004: ID 0955:7820 Acer, Inc..

or

Bus 002 Device 004: ID 0955:7820 NVidia Corp.

0502:3348 = OS Mode (normal boot)

0955:7820 = Recovery Mode (APX Mode)

ADB is not available in APX.
[Acer Iconia Tab A100] crossix:
Yeah, I tried that with no luck... half tempted to try one of the a500 euus to see what happens there.

---------- Post added at 02:22 PM ---------- Previous post was at 02:14 PM ----------

EUUs_SBK_Acer_A100_1.008.05_COM_GEN1 is the one I've been trying my ids on, but so far no luck at all. I've even added the CPUID.txt file as in one of the posts on using the EUUs for the A500 (even though the CPUID.txt file wasn't created for the a100 euu). I've tried every number combo I can find adding a 0 in front where it's been too short. The only thing that really fits would be the adb devices id, the other ids I've found are either too short or too long. I don't know of anyone else that has gotten this euu working either so I'm wondering if it's a good euu file.

Another thought, I can compile a kernel with kexec support and include a memory address to load the kernel into. I already have kexec compiled and working on the tab, I just don't know what address to load up the kernel into (everytime I try the tab locks up solid and I have to start over). It would be nice if it had some sort of auto detect function, ha!... Any who, I've heard kexec is a pain in the butt... so a 2nd-init or safestrap may be a bit more easier to achieve. If that requires some sort of different kernel option to be added, let me know and I'll whip one up.
[Acer Iconia Tab A100] Icewyng:
My bad... did my lsusb while in normal mode but l was using APX correctly. Tried with the APX several times with the same previous result.

We must be missing something...
[Acer Iconia Tab A100] vache:
To clarify, this is what you should do :

Reboot in APX mode.

Run the script to detect on wich port the device is connected.

Adapt the --dfd parameter in the nvflash command line.

Launch the command.
[Acer Iconia Tab A100] vache:
If someone want to play with APX mode, i setup a simple page to generate SBK's :

http://vache-android.com/v1/index.php?site=sbk

Edit :

Also uploaded a modded version of the EUU.

http://fileshost.fr.mu/download/96/EUUs_SBK_A100_Mod.zip.html

Let me know if it works.
[Acer Iconia Tab A100] NoSudo:
Hey guys, sorry I haven't been active with you all on this. I haven't had allot of free time. I havnt read the last 24 hours of posts but I was poking around on my tablet and noticed com.FD.updater and inside is an XML file with what looks like a FW update ID of some type. Anyone try this as the cpuid yet?

Again sorry I didnt have time to catch up on the reading I just wanted the throw it up in case it would help.
[Acer Iconia Tab A100] crossix:
You're awesome!! I'll pick it apart and see what I can come up with. Thanks! :D

Edit: No luck with the modded EUU, had to replace the driver files, it was trying to load the drivers for the a500 so it wouldn't recognize the a100 until I replaced them. I've attached the log from the "attempted upgrade" but its pretty much the same as the previous log. This time I used the UID from adb devices like the a500 and I put my uid in the CPUID.txt file. Followed the directions from the A500 forum, but still no luck :(
[Acer Iconia Tab A100] masterpker2:
http://android-er.blogspot.com/2009/09/read-android-cpu-info.html thought it might help

I also found a use full tool to display all system info including in depth CPU info found here

http://static.fiendish.net/xaueious/

Download com.electricsheep.msi.apk off of said page its very informative.
[Acer Iconia Tab A100] Icewyng:
Tried both already... serial is all 0s.

Could anyone do something for me... Open the Terminal emulator and do this:

$su

#dmesg > /sdcard/dmesg.log

open the log and give me the number that is next to CPU: ARMv7 Processor and the one after cr= at the end of the line.
[Acer Iconia Tab A100] masterpker2:
Tried your command in terminal emulator and no result searched the file in root explorer it seems there is no such file on my tab
[Acer Iconia Tab A100] masterpker2:
Duh I found it... the numbers are as follows. 411fc090 and the one at the end of the line is 10c53c7f
[Acer Iconia Tab A100] littleemp:
tps6586x 4-0034

Not sure if that's what you wanted. I opened dmesg.log with opera mobile and searched the whole thing for your keywords but nothing came up. I tried the terminal but nothing happened.
[Acer Iconia Tab A100] J-22:
CPU: ARMv7 Processor [411fc090] revision 0 (ARMv7), cr=10c53c7f

<4>

Also a proper serial number i think can be found in /sys/eccontrol/serialnumberwithoutbarcode
[Acer Iconia Tab A100] Icewyng:
the serial number could be worth a try.

maybe we could try 411fc09010c53c7f as well?

or try again the /sys/EcControl/UUID number.
[Acer Iconia Tab A100] NoSudo:
This resulted in the intended file but it doesn't contain "CPU:" or "cr=" at all from my A100 its running 1.018.05_COM_GEN2 still though and I'm guessing you guys are mostly on the GEN1 for 3.2.1

I looked at it a little more. I doubt if it's of use but the only 2 lines that stand out are

[80021.859334] ### wl_iw_set_pno_set: info->cmd:8b0c, info->flags:0, u.data=0xbe9705b4, u.len=64

and the same line I think littleemp was talking about

[81793.679823] tps6586x 4-0034: tps6586x interrupt source : TPS6586X_INT_RTC_ALM1

What ROM does your A100 have on it littleemp. Are you on the same build as me or is it something else.
[Acer Iconia Tab A100] Icewyng:
2.007.04_gen1 here. Looking at the time I see on thhe lines you posted, you have not shut down your A100 in a while. You need to do the Dmesg after you start up the A100.

TPS6586X is related to the touchscreen IIRC. The other one looks to be about Wi-Fi.

While checking a few thing in root explorer, I have found 2 files that looks interesting:

/proc/sys/kernel/random/boot-id & UUID.

Perhaps those numbers could be useful.
[Acer Iconia Tab A100] oneovakindoldys2:
has anyone made any headway with the euus? i have been working with the older version euus_sbk_acer_a100_1.008.05 with no luck and i have tried the modded one that vache posted earlier with no luck as well. as crossix said, the drivers that were with the modded euus were from the a500 instead of the a100 but you can borrow the drivers from the 1.008.05 and it will work also, however no luck with the finding the correct cpuid at this point. i have been trying this sporadically for several days and i have tried all of the suggestions in this post thus far with no luck. any suggestions are very welcome. i also wanted to say a sincere thanks to all of the devs that have been hard at work on this thing. if i make any progress i will post. good luck!
[Acer Iconia Tab A100] J-22:
In /sys/firmware/fuse there are a few files that look useful such as device_key or Secure_boot_key however they dont seem to have anything in them when i open them. Not sure if thats helpful to anyone else

*after doing some more reading seems these are just records of permanently set fuses, so may not be any use