[APP] Samba Server for Android - Android Software Development

APP development page has moved to http://forum.xda-developers.com/and...esharing-server-android-t2803452/post53869540
This thread is kept fir reference as it contains valuable information for manual modifications.

hey there I was lookin for similar feature , its not exactly the sme well it is , but anyways , Estrong Explorer does the job for what you are tryin to do , ( ESexplorer) free inmarket . as long as phone is reg on network it will access your share

Hi, I just got Samba server (2.2.12) working on my HTC Hero. The daemons smbd+nmbd take up just under 4Mb memory when running (and opening a shared folder on the phone from a computer on the network will launch another smbd daemon, which is about 2.5Mb).
The main problem I'm having is slow xfer rates - seems to max out at 600 - 700Kb/s. Its the same if i SCP files though, so I dont think its a problem is with samba specifically...
I can provide a tarball with the files if you want to try it out (install & configuration is through a root shell, its all pretty basic at the moment).
- Jimmy

By all means, I'd like to try it on my Nexus. Just finished a thread about changing Nexus One's hostname from default "localhost", and understood that besides my router, I can't do much with it on Windows network w/o DNS
Please post the files & instructions.

Have attached a zip file containing the samba files + README.txt with basic install instructions. Access the phone shared folder via Windows network browsing, or with \\IPaddress of the phone.
** See a later post by me in this thread that has a newer version of Samba attached which includes automated install/uninstall script.

Hi,
I've checked the most recent version and the one before it, on Nexus.
Both exhibit the same behavior.
1) When trying to unzip to SD card, everything's ok and the default file attributes are preserved. When extracting to /data/local, no matter which way is used, "executable" attributes aren't preserved - only RW attributes. chmod +rwx samba/bin/* doesn't help, and when trying to execute "samba-rc start" via Terminal on the phone, it shows: "ash: can't find samba-rc" (I'm using ash). Using "su samba-rc start" also doesn't help, it shows "permission denied".
2) Trying to execute smbpasswd - it asks for a new password and confirmation, and crashes with segmentation fault.
3) Trying to execute samba-rc from ADB SHELL didn't throw any error messages, but it didn't work either.

I've tried both running from the phone's terminal emulator and by adb shell (I don't open the shell continuously, I run each command separately - adb shell "command", this way I can dump the output to PC by adding > in the end).
/data/local/samba/bin/nmbd -i -d 99
Looks like it's working, both from phone's terminal emulator and from adb shell. I see the Nexus being discovered by Windows 7 workstation on network scan (I've personalized the name - read my thread in Nexus development section on how to do that). nmbd_log attached, to check that everything's ok.
/data/local/samba/bin/smbd -i -d 99
Here the things start getting more interesting.
1) If I try to connect, after some time the smbd stops by itself - looks like after 5 failed attempts the server auto-stops itself. That's not a good behavior, especially considering that while Windows prompts you for username and password to connect, it also keeps trying to auto-connect using the default username (that's where 5 attempts come from). The server shouldn't stop itself. smbd_log1 attached.
2) If I write the user on time, smbd crashes while trying to compare passwords. smbd_log2 attached.
All the logs are zipped.

Thanks for the info Jack.
With the shell script, can you try running it like:
sh -c "/data/local/samba/bin/samba-rc restart"
if that still doesnt work, as a further test, open two root sessions via adb shell, in one run the nmbd command, in the other run the smbd (both with same options as before) then try browsing again from your computer.
Note: dont let your phone go into sleep mode (keep the screen active so the display stays on).
- JC

I had a chance to play with both versions some more.
1) using su and no shell (not running ash) I can run samba-rc, and it executes correctly. Both processes (nmbd and smbd) show up in ps. To achieve that, I needed to chmod +rwx /samba/bin/* after unzipping.
2) nmbd works well, and the phone shows up on Windows network.
3) It still doesn't allow logging into it, and I believe the problem lies in smbpasswd executable, which still shows erroneous behavior:
Tried to login using default user bogan: "network resource not available" message coming from Windows upon entering login credentials. Phone stays on the network and can be accessed again, but login is still impossible.
Tried to change default user's password: smbpasswd asks for new password twice (without asking for the old one - which is wrong behavior!) and crashes with segmentation fault.
Tried removing /samba/private/smbpasswd file and creating a new one, using smbpasswd -add username. Worked, but no password was asked for the user.
Tried to change password for new username. The same as before - asked for new password twice, then crashed with segmentation fault.
When tried to login with the new user, it didn't show "network resource not available", but it kept asking for password (the dialog where username is already there, and only the password needs to be retyped). I didn't know the default password that smbpasswd creates, if any. Tried nothing, tried several basic options (root, same as username, etc), none worked.
I believe the problem might be smbpasswd not working correctly on Android 2.1.

ich started samba via chroot debian. i can read and write the filesystem.. except mapped /sdcard... i cannot delete files... any ideas how to set permissions? the user is 1000 and group is 1015

Played some more with it, and I can definitely point at authentication as the source of the problems. I got it to work. Not too well - because it lacks any security whatsoever - but at least it works.
First, about the problems:
When mistyping the password one of the times, smbpasswd shows correct error message and gracefully exits.
When doing everything correctly, it crashes - but writes /private/smbpasswd file before that.
I've tried to run it with debug level = 9, it showed lots of info when starting, and after changing passwords - just the regular "Segmentation fault" crash.
in smb.conf, setting password encryption = off causes the Windows to throw "this user isn't authorized to login from this station" error instead of asking for username.
But, how I got things to work?
Well, since I was certain that it's the authentication mechanisms that prevent it from working, I prevented those authentication mechanisms from functioning. At first I wanted to ask Jimmy for a test version that would ignore user/password checking, but then I thought that I might do it in smb.conf file. So here is what I did:
[global]
security = SHARE # instead of USER
[sdcard]
guest ok = yes # instead of no
With these settings, I get no password prompts and Samba works! I see SD card share, and can copy to/from it.
Notes:
* The main script (samba-rc) works well in killing all the smbd processes on stop/restart.
* Server still runs when the phone is in sleep mode, just much slower.
Jimmy, could you please test smbpasswd compilation to find out why it crashes on 2.1 (I'm running Cyanogen 5.0.6)? Once it's done, I believe that this will work anywhere.
Also, something could probably be done to make it speed up CPU / network on demand when the phone is sleeping, or to prevent the phone from sleeping while it's running - and a GUI can be made for controlling it, since it'll be fully functional.

can you delete from the sdcard share?

DocMAX said:
can you delete from the sdcard share?
Click to expand...
Click to collapse
Yes, tried and deleted a directory with files.

Hi Jack,
Nice work with your testing
I'd like to take a look at all the file permissions samba unzip'd with and compare them to what they should be - could you post output of
ls -laR /data/local/samba​
smbpasswd probs: could you delete /data/local/samba/private/smbpasswd and add a user with bin/smpasswd using '-a' rather than '-add', like
/data/local/samba/bin/smbpasswd -a jack​
then re-enable authentication in the config file and see how it goes?
I'll see what the options might be for the sleep mode network speed slow down (I do want to package it all up with GUI config and control options etc eventually, i suspect the sleep mode stuff will be easier to control this way too).
- JC

DocMAX said:
ich started samba via chroot debian. i can read and write the filesystem.. except mapped /sdcard... i cannot delete files... any ideas how to set permissions? the user is 1000 and group is 1015
Click to expand...
Click to collapse
So you're doing a chroot to somewhere else on the phone filesystem before starting samba, if i understand correctly?
Have you tested it without chroot to see if the problem still happens? Is there any indication of a permission problem reported in /data/local/samba/var/log.smbd ?
Is 1000 / 1015 the user/group of the files on the sdcard you are trying to delete, or the user / group you've set in samba.conf?
- JC

JimmyChingala said:
Hi Jack,
Nice work with your testing
Click to expand...
Click to collapse
Thanks
JimmyChingala said:
I'd like to take a look at all the file permissions samba unzip'd with and compare them to what they should be - could you post output of
ls -laR /data/local/samba​
Click to expand...
Click to collapse
Please remember that I've changed the /bin/* permissions from 666 to 777, and it shows in the list below.
Here:
/data/local/samba:
drwxrwxrwx 1 root root 2048 May 17 00:20 .
drwxrwx--x 1 shell shell 2048 May 17 00:20 ..
-rw-rw-rw- 1 root root 4178 May 17 00:20 README.txt
drwxrwxrwx 1 root root 2048 May 17 00:20 bin
drwxrwxrwx 1 root root 2048 May 24 17:05 lib
drwxrwxrwx 1 root root 2048 May 19 20:10 private
drwxrwxrwx 1 root root 2048 May 17 00:23 var
/data/local/samba/bin:
drwxrwxrwx 1 root root 2048 May 17 00:20 .
drwxrwxrwx 1 root root 2048 May 17 00:20 ..
-rwxrwxrwx 1 root root 457952 May 17 00:20 killsamba
-rwxrwxrwx 1 root root 870592 May 17 00:20 nmbd
-rwxrwxrwx 1 root root 396 May 17 00:20 samba-rc
-rwxrwxrwx 1 root root 1839404 May 17 00:20 smbd
-rwxrwxrwx 1 root root 948992 May 17 00:20 smbpasswd
/data/local/samba/lib:
drwxrwxrwx 1 root root 2048 May 24 17:05 .
drwxrwxrwx 1 root root 2048 May 17 00:20 ..
drwxrwxrwx 1 root root 2048 May 17 00:20 codepages
----rwxr-x 1 root root 708 May 24 17:05 smb.conf
/data/local/samba/lib/codepages:
drwxrwxrwx 1 root root 2048 May 17 00:20 .
drwxrwxrwx 1 root root 2048 May 24 17:05 ..
-rw-rw-rw- 1 root root 588 May 17 00:20 codepage.1125
-rw-rw-rw- 1 root root 140 May 17 00:20 codepage.1251
-rw-rw-rw- 1 root root 196 May 17 00:20 codepage.437
-rw-rw-rw- 1 root root 148 May 17 00:20 codepage.737
-rw-rw-rw- 1 root root 388 May 17 00:20 codepage.775
-rw-rw-rw- 1 root root 132 May 17 00:20 codepage.850
-rw-rw-rw- 1 root root 172 May 17 00:20 codepage.852
-rw-rw-rw- 1 root root 132 May 17 00:20 codepage.857
-rw-rw-rw- 1 root root 460 May 17 00:20 codepage.861
-rw-rw-rw- 1 root root 588 May 17 00:20 codepage.866
-rw-rw-rw- 1 root root 8 May 17 00:20 codepage.932
-rw-rw-rw- 1 root root 8 May 17 00:20 codepage.936
-rw-rw-rw- 1 root root 8 May 17 00:20 codepage.949
-rw-rw-rw- 1 root root 8 May 17 00:20 codepage.950
-rw-rw-rw- 1 root root 131614 May 17 00:20 unicode_map.1125
-rw-rw-rw- 1 root root 131614 May 17 00:20 unicode_map.1251
-rw-rw-rw- 1 root root 131614 May 17 00:20 unicode_map.437
-rw-rw-rw- 1 root root 131614 May 17 00:20 unicode_map.737
-rw-rw-rw- 1 root root 131614 May 17 00:20 unicode_map.775
-rw-rw-rw- 1 root root 131614 May 17 00:20 unicode_map.850
-rw-rw-rw- 1 root root 131614 May 17 00:20 unicode_map.852
-rw-rw-rw- 1 root root 131614 May 17 00:20 unicode_map.857
-rw-rw-rw- 1 root root 131614 May 17 00:20 unicode_map.861
-rw-rw-rw- 1 root root 131614 May 17 00:20 unicode_map.866
-rw-rw-rw- 1 root root 262174 May 17 00:20 unicode_map.932
-rw-rw-rw- 1 root root 262174 May 17 00:20 unicode_map.936
-rw-rw-rw- 1 root root 262174 May 17 00:20 unicode_map.949
-rw-rw-rw- 1 root root 262174 May 17 00:20 unicode_map.950
-rw-rw-rw- 1 root root 131614 May 17 00:20 unicode_map.ISO8859-1
-rw-rw-rw- 1 root root 131614 May 17 00:20 unicode_map.ISO8859-13
-rw-rw-rw- 1 root root 131614 May 17 00:20 unicode_map.ISO8859-15
-rw-rw-rw- 1 root root 131614 May 17 00:20 unicode_map.ISO8859-2
-rw-rw-rw- 1 root root 131614 May 17 00:20 unicode_map.ISO8859-5
-rw-rw-rw- 1 root root 131614 May 17 00:20 unicode_map.ISO8859-7
-rw-rw-rw- 1 root root 131614 May 17 00:20 unicode_map.ISO8859-9
-rw-rw-rw- 1 root root 131614 May 17 00:20 unicode_map.KOI8-R
-rw-rw-rw- 1 root root 131614 May 17 00:20 unicode_map.KOI8-U
/data/local/samba/private:
drwxrwxrwx 1 root root 2048 May 19 20:10 .
drwxrwxrwx 1 root root 2048 May 17 00:20 ..
-rw------- 1 root root 8192 May 26 14:08 secrets.tdb
-rw------- 1 root root 101 May 19 20:10 smbpasswd
/data/local/samba/var:
drwxrwxrwx 1 root root 2048 May 17 00:23 .
drwxrwxrwx 1 root root 2048 May 17 00:20 ..
drwxrwxrwx 1 root root 2048 May 26 14:08 locks
-rw-r--r-- 1 root root 23957 May 26 14:08 log.nmbd
-rw-r--r-- 1 root root 37485 May 26 14:08 log.smbd
drwxrwxrwx 1 root root 2048 May 17 00:20 tmp
/data/local/samba/var/locks:
drwxrwxrwx 1 root root 2048 May 26 14:08 .
drwxrwxrwx 1 root root 2048 May 17 00:23 ..
-rw-r--r-- 1 root root 696 May 24 18:06 brlock.tdb
-rw-r--r-- 1 root root 154 May 24 18:06 browse.dat
-rw-r--r-- 1 root root 8192 May 26 14:08 connections.tdb
-rw-r--r-- 1 root root 696 May 24 18:06 locking.tdb
-rw------- 1 root root 696 May 26 14:08 messages.tdb
-rw-r--r-- 1 root root 20 May 26 14:08 nmbd.pid
-rw------- 1 root root 8192 May 24 18:06 ntdrivers.tdb
-rw------- 1 root root 696 May 24 18:06 ntforms.tdb
-rw------- 1 root root 8192 May 24 18:06 ntprinters.tdb
-rw------- 1 root root 8192 May 24 18:06 printing.tdb
-rw------- 1 root root 8192 May 24 18:06 share_info.tdb
-rw-r--r-- 1 root root 20 May 26 14:08 smbd.pid
-rw-r--r-- 1 root root 16384 May 24 18:08 unexpected.tdb
/data/local/samba/var/tmp:
drwxrwxrwx 1 root root 2048 May 17 00:20 .
drwxrwxrwx 1 root root 2048 May 17 00:23 ..
JimmyChingala said:
smbpasswd probs: could you delete /data/local/samba/private/smbpasswd and add a user with bin/smpasswd using '-a' rather than '-add', like
/data/local/samba/bin/smbpasswd -a jack​then re-enable authentication in the config file and see how it goes?
Click to expand...
Click to collapse
Did so. It didn't work, but it helped me better understand one more symptom.
1) When adding with "-a", it accepted the new password and didn't crash.
2) I still couldn't login with the user.
3) I tried using debug options ("-i -d 99") and got it exiting after login attempts (login still failed).
4) I created a Samba user with the same name as Windows user, and tried to log in. This time it searched and found the password, but then crashed with the following error (this is the end of the log file):
[000] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........ ........
[010] 00 00 00 00 00 00 00 00 51 97 2D 64 E2 C4 1E 10 ........ Q.-d....
[020] C2 C0 E9 19 DB 64 5B 98 01 01 00 00 00 00 00 00 .....d[. ........
[030] 0F A7 B4 B3 DF FD CA 01 D0 DE 19 BB 42 22 52 CA ........ ....B"R.
[040] 00 00 00 00 02 00 12 00 57 00 4F 00 52 00 4B 00 ........ W.O.R.K.
[050] 47 00 52 00 4F 00 55 00 50 00 00 00 00 00 00 00 G.R.O.U. P.......
[060] 00 00 4B 69 73 75 6C 79 61 00 4B 69 73 75 6C 79 ..Kisuly a.Kisuly
[070] 61 2D 50 43 00 00 00 a-PC...
switch message SMBsesssetupX (pid 1988)
created /data/local/samba/var/tmp/SMBsesssetupX.8.req len 220
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
change_to_root_user: now uid=(0,0) gid=(0,0)
passlen1=24, passlen2=74
Domain=[Kisulya-PC] NativeOS=[] NativeLanMan=[]
sesssetupX:name=[Kisulya]
lp_file_list_changed()
file /data/local/samba/lib/smb.conf -> /data/local/samba/lib/smb.conf last mod_time: Thu May 27 20:36:57 2010
pass_check: Checking password for user kisulya (l=74)
NT Password did not match for user 'kisulya'!
Defaulting to Lanman password for kisulya
pdb_getsampwnam: search by name: kisulya
startsmbfilepwent_internal: opening file /data/local/samba/private/smbpasswd
getsmbfilepwent: returning passwd entry for user jack, uid 0
getsmbfilepwent: returning passwd entry for user kisulya, uid 0
endsmbfilepwent_internal: closed password file.
pdb_getsampwnam: found by name: kisulya
===============================================================
INTERNAL ERROR: Signal 11 in pid 1988 (2.2.12 Android build (JimmyChingala))
Please read the file BUGS.txt in the distribution
===============================================================
PANIC: internal error
I guess I'll ask you for a debug version of the build, that logs every step in the password checking under debug mode. "Signal 11" isn't too clear

Hi Jack, your file permissions look mostly ok - ive assembled the sambaArchive differently now, should hopefully avoid the permission probs you saw.
Tracked down the cause of smbd crashing in debug mode too, so we should be able to get some proper debug info about whats happening to authentication.
The bin/smbpasswd segfaults are fixed - adding/removing users, changing passwords seems to work ok.
Have attached the updated archive sambaAndroid-0.3.zip to my other post in this thread.
- JC

Great work, Jimmy. Tested, and everything looks functional.
Adding user works.
Removing user works.
Authentication works - also tested with non-default user.
Things left:
Auto-detect local network interface on start / on install.
Prevent slowdown in sleep mode.
Thanks a lot for making it work!

Damn, just got home and tested on my system. I guess it was too fast to declare it's fully functional.
Jimmy, I suppose you're testing it on Windows XP? Because it definitely works on XP, as I wrote earlier. But the problem is that once I start using Windows 7, the authentication mechanism changes somehow (my guess, it also could be the protocol - I didn't save the logs so I didn't note the difference, and I don't have XP at home) - and I can't login anymore. I've logged the server output and it looks like no matter what username is provided - Win7 uses its current logged in user to connect to the sharing device (user-level login to the system before logging in to the share itself - this is how Samba is configured), which ultimately results in login failure.
I'll record a successful XP log and an unsuccessful Win7 log tomorrow and post them, but I'm not sure that something can be deduced from them, since they just show different passwords (and Win7 log also shows server exiting when trying to log in with correct user/password, something that doesn't happen on XP - but at least this time it's graceful logged exit, thanks to your fix).
I suggest you test logging in from Vista or Win7 machine with a username that isn't the logged in Windows user.

Thanks for your testing and feedback, Jack!
I'm testing with Vista and XP - no Win7 yet.
A couple of things to double check:
- If the phone has been in sleep mode for an extended period, or wifi switched off, then on again, and if a "samba-rc restart" has not been done, strange auth problems will happen. (This shouldnt be a problem if using the dhcp hook script to auto-restart samba).
- Cached session credentials on the client or server can also play havoc with authentication - check "net use" in a cmd shell on your Win client to see if there is cached session info for the phone, and if there is, do a "net use /delete \\phoneIP\IPC$" to delete it. (On the server side, cached information is deleted each time the samba is started).
Manually running "/data/local/samba/bin/samba-rc restart" in adb or ssh root shell on your phone (when not in sleep mode) should fix the above two issues on the server side.
Otherwise take a look at
http://www.builderau.com.au/blogs/codemonkeybusiness/viewblogpost.htm?p=339270746
And see what your 'LAN Manager authentication level' defaults to. On my Vista system, its already set to "Send LM & NTLM - use NTLMv2 session security if negotiated". I dont remember changing this, I think it was the default on my Vista install - maybe i did change it, up late and half asleep one night .
Anyway, samba2 doesnt support NTLMv2 authentication but i think the workaround in the above URL will address this - if its the problem.. (I'm already working on porting a version of Samba3 that has NTLMv2 auth, but the code is significantly different that i cand just edit the same files and change the same blocks of code ).
- JC

Related

Linux Kitchen setup help

Can someone tell me why I keep getting the directory error at the bottom on my linux box? Sorry am learning linux as i go. I created a zip directory under bin so not sure why I am still getting this error?
no files for configid 26220739write xip block starting at 81800000, with 3 fileswrite xip block starting at 81980000, with 0 filesthis rom seems to be 3.17.03 ENG 2003-05-15 o2eurothis bootloader seems to be V5.22 2003-05-15 17:46:5580000000 - 80040000 -- bootloader 0 files 1 modules80040000 - 8026a804 -- kernel 13 files 11 modules802c2000 - 8057d330 9 OS 15 files 32 modules80580000 - 8075a69c 8 SHELL 79 files 27 modules80780000 - 80a13b04 7 BROWSING 9 files 14 modules80a40000 - 80d8a33c 6 COREAPPS 46 files 30 modules80dc0000 - 80ebd150 5 SYNC 12 files 22 modules80ec0000 - 810388e0 4 24MAPPS 13 files 13 modules81080000 - 81348248 3 24MCONSUMER 69 files 1 modules81400000 - 814019a4 -- xip chain 10 xip entries81440000 - 817f6f14 1 MISC 209 files 40 modules81800000 - 8184ac20 10 XDA_DEVELOPERS1 3 files 0 modules81900000 - 81925800 -- bitmap : 101a301a .. beb6fc8d81940000 - 81960278 -- operator rom 10 files81980000 - 81981054 11 XDA_DEVELOPERS2 0 files 0 modules./mkrom.sh: /bin/zip: No such file or directory
It looks as though you do not have an appropriate ZIP program...
You may want to see if bzip2 will work instead of zip, or get the linux version of RAR.
The issue though, is you do not have /bin/zip, which is an executable file, not a directory.
Maybe someone can verify what compression executable to use instead of /bin/zip...
J
Ok got that resolved but now when doing zip it gets permission denied. Any other assistance is greatly appreciated. Then should be able to have yorch and company's kitchen running
I would verify that the user that is executing the shell (mkrom) has execute permissions to the zip program...
you can run (as root)
Code:
chmod 755 /usr/bin/bzip2
to change permissions on the bzip2 executable file.
That will give root all access, and everyone else read/execute access.
Also, if the zip program uses any temp directories, make sure the same user has read/write permissions to those directories as well (Probably not your problem, though)
J
Ok got that resolved....now here's what i get....is this a safe error or something I need to worry about? How can I correct it?
./mkrom.sh: ./tounicode: Permission deniedwrite xip block starting at 81720000, with 6 fileswrite xip block starting at 81cb0000, with 72 filesCan't exec "./dumprom": Permission denied at drparse.pl line 22.readline() on closed filehandle FH at drparse.pl line 24.Can't exec "./dumprom": Permission denied at drparse.pl line 22.readline() on closed filehandle FH at drparse.pl line 24.Can't exec "./dumprom": Permission denied at drparse.pl line 22.readline() on closed filehandle FH at drparse.pl line 24.!!! your rom is not known to me: md5: dad2e3cad6095282bf1d58ccf12171e8this bootloader seems to be V5.22 2003-05-15 17:46:55no operator rom found80000000 - 80040000 -- bootloader 0 files 1 modules80040000 - 8015df78 9 XIPKERNEL 5 files 5 modules80180000 - 80376f10 8 KERNEL 10 files 14 modules80380000 - 8064306c 7 OS 20 files 36 modules80670000 - 80be66a8 6 SHELL 107 files 88 modules80c00000 - 8102ce98 5 BROWSING 11 files 36 modules81050000 - 813ef114 4 COREAPPS 95 files 44 modules81400000 - 815d2238 3 EXAPPS 34 files 7 modules815f0000 - 8171bc7c 2 PHONE 56 files 19 modules81720000 - 8177ffe0 10 XDA_DEVELOPERS1 6 files 0 modules81780000 - 81781c34 -- xip chain 11 xip entries817c0000 - 81ca1b44 1 MISC 225 files 42 modules81cb0000 - 81d4eb7c 11 XDA_DEVELOPERS2 72 files 0 modules81ec0000 - 81ee5800 -- bitmap : ffffffff .. ffffffff../rom.exe: found a preamble of 35328 bytes adding: English/NK.nbf (deflated 44%)Archive: rom.exe;The comment below contains SFX script commandsSetup=start.batTempModeSilent=1Overwrite=1 Length Method Size Ratio Date Time CRC-32 Name-------- ------ ------- ----- ---- ---- ------ ---- 0 Stored 0 0% 07-28-03 15:28 00000000 English/ 262144 Defl:N 11018 96% 05-20-02 18:27 f4419bea English/CLoader_serial.nb 262144 Defl:N 12683 95% 05-20-02 18:17 d576b33c English/CLoader_usb.nb 4608 Defl:N 1094 76% 07-17-02 17:22 578b9c86 English/GetConnectionType.dll 18432 Defl:N 7650 59% 04-24-02 15:44 e4ed8f0a English/remote_flash.exe 3584 Defl:N 856 76% 08-21-01 16:43 da38a539 English/SetSystemTime.dll 73728 Defl:N 36119 51% 07-09-03 07:09 95cf7c18 adaptrom.exe 155648 Defl:N 50839 67% 08-28-02 15:23 f5a4ac25 PROGRAMME A.exe 3548 Defl:N 1078 70% 08-28-02 15:25 65d98105 readme.rtf 25 Stored 25 0% 07-28-03 15:28 ecfe543d start.bat32505888 Defl:N 18306975 44% 10-11-03 21:28 34cc9720 English/NK.nbf-------- ------- --- -------33289749 18428337 45% 11 files
Looks like you have the same execute permission problem with the tounicode exe.
Try to fix that.
About the drparse.pl, I have to look at that file, to see what it is trying to do...
Ok, here is the line:
Code:
open FH, "./dumprom $romfile|";
Looks like it is trying to open (as a file) the output of the dumprom executable.
So, dumprom is failing, probably ... yes, I see it now..
Verify the permissions on dumprom as well...
In fact, all *.pl and *.sh files should have execute permissions, use the same command as above to set them.
This reply is a rambling one, I know, but I wrote is as I was doing the research.
Let me know if it helps you.
J
Here's what is weird. I have changed those permissions as you said previously and still get the same error. What's strange to me though is I can run the kitchen with rom ver 3 something, but all of the ver 4 roms come back with the error. Any idea as to what the cause of that might be?
btw jta thanks for all the help. If you have time and would like to look at the box for me I will get access to it for you. Thanks.
I got it all working now. Thank you thank you thank you very much for the help.
Ah, good to hear that you have it all working now!
So, when do we get to try it out?? (wink wink)
J
Very soon....we are now putting finishing touches with other software installs....so will be very very soon.....
type:
cd /usr/local/bin
# ln -s /usr/bin/zip zip

Cant run scripts from SD card

Hi
I have updated to JF1.51 UK and I seem to be unable to run scripts that are on the SD, I have tried to install debian but the installer script does nothing, I also have a script that copy's my ringtones from the SD card to the how ever this doesn't seem to work either.
I have checked the mount for the SD card and its set as
Code:
/dev/block//vold/179:1 on /sdcard type vfat (rw,dirsync,nosuid,nodev,noexec,uid=
1000,gid=1000,fmask=0711,dmask=0700,allow_utime=0022,codepage=cp437,iocharset=is
o8859-1,shortname=mixed,utf8)
from what I know about linux I am guess the problem is due to "noexec" but I cant see where I can change so it doesnt have noexec
I have looked at the fstab in /etc/ and /system/etc/
but I haven't found anything SD card related.
any one know how to correct this or has this been added in to stop us from playing with the G1
Thanks
Su
Chmod 755 /scard/
Maybe not sure. Open terminal an do
Ls -l /scard/
D---rwxrwx for directories
D---rw-rw- for files
Is the norm. You might have messed up you permissions somehow
hmm will let me chmod read and write but wont set the execute
Code:
# ls -lsa
ls -lsa
4 d---rwxrwx 2 1000 1000 4096 May 25 18:10 .
4 d---r-xr-x 25 1000 1000 4096 Jan 1 1970 ..
4 ----rw-rw- 1 1000 1000 2288 Mar 13 13:44 bootdeb
732424 ----rw-rw- 1 1000 1000 750000000 Jan 8 14:15 debian.img
4 ----rw-rw- 1 1000 1000 102 Jan 9 13:11 fsrw
4 ----rw-rw- 1 1000 1000 861 Mar 13 12:14 installer.sh
4 ----rw-rw- 1 1000 1000 866 Mar 13 11:09 mountonly
4 ----rw-rw- 1 1000 1000 420 Jan 9 11:51 unionfs
# chmod 777 installer.sh
chmod 777 installer.sh
# ls -lsa
ls -lsa
4 d---rwxrwx 2 1000 1000 4096 May 25 18:10 .
4 d---r-xr-x 25 1000 1000 4096 Jan 1 1970 ..
4 ----rw-rw- 1 1000 1000 2288 Mar 13 13:44 bootdeb
732424 ----rw-rw- 1 1000 1000 750000000 Jan 8 14:15 debian.img
4 ----rw-rw- 1 1000 1000 102 Jan 9 13:11 fsrw
4 ----rw-rw- 1 1000 1000 861 Mar 13 12:14 installer.sh
4 ----rw-rw- 1 1000 1000 866 Mar 13 11:09 mountonly
4 ----rw-rw- 1 1000 1000 420 Jan 9 11:51 unionfs
./installer.sh: permission denied
#
didnt have this problem on JFv1.43 RC9
Ahh I see what your doing now. You need to copy the installer to the /system/sd/ and the debian image to /system/sd/debian.
Instruction are here
http://forum.xda-developers.com/showthread.php?t=509943
David!!!!! Welcome back Bro! looking into running Debian Eh?
Its Dan BTW if the name doesnt give it away
Hi
just seen your post, yeh dont use it much but its good for showing off
hows things?
Regards
Its not executable and you can't set it as executable because it is FAT32!!
FAT32 does NOT HAVE unix permission bits. In fact, it has NO PERMISSION BITS AT ALL.
If you want to execute a script on it, you need to run the interpreter directly, i.e. "sh /sdcard/script.sh".

[help] 32A cant mount SD card

Hi Guys
I recently tried to upgrade my radio and SPL to use Cursors32A rom. It update failed and cannot seem to get the SD card to mount in recovery mode again
When i try to mount/use the card it come up with the following error
Code:
mount: mounting /dev/block/mmcblk0p1 on /sdcard failed: No such file or director
y
mount: mounting /dev/block/mmcblk0p2 on /system/sd failed: No such file or direc
tory
Now ive been going through the forums over the last two days trying to fix it. The one method that stands out to me is the gold card method..but i cant seem to obtain the CID.
Now my knowledge of the andriod/unix enviroment is limited(i was brain washed my M$)
anyway please help a n00b
Thanks
Kyle
Hi,
What is your current SPL?
Does fastboot works ?
a command like fastboot boot recovery-RA-sapphire-v1.5.2H.img works ?
Cedric
Fastboot won't work for him, no eng spl. Did you try another SD card? I know it's a simple question but double check if it's working. I remember another command available that helps mount your SD card but I forgot the command. Try searching the forums more, I'm sure you'll be able to find it.
If I remember correctly, your SPL + Radio don't match up. I've never seen that together before. Lucky it isn't bricked yet
The command is fastboot oem enableqxdm 0
the prompt returns 'OKAY'.
Hey guys
i tried 6 different sdcards
d_ced, when i run the below command i get
Code:
c:\android\android-sdk-windows\tools>fastboot oem enableqxdm 0
... INFO[ERR] Command error !!!
OKAY
ill post my ls -l for reference
Code:
drwxrwxrwx 1 0 0 2048 Sep 6 1980 cache
drwxr-xr-x 2 1000 1000 0 Jan 1 1970 data
-rwxr-xr-x 1 1000 1000 2733 Jan 1 1970 default.prop
drwxr-xr-x 11 0 0 1300 Jan 6 00:07 dev
drwxr-xr-x 2 1000 1000 0 Jan 1 1970 etc
-rwxr-xr-x 1 1000 1000 106764 Jan 1 1970 init
-rwxr-xr-x 1 1000 1000 1677 Jan 1 1970 init.goldfish.rc
-rwxr-xr-x 1 1000 1000 2781 Jan 1 1970 init.hero.rc
-rwxr-xr-x 1 1000 1000 598 Jan 1 1970 init.rc
dr-xr-xr-x 42 0 0 0 Jan 1 1970 proc
drwxr-xr-x 3 1000 1000 0 Jan 1 1970 res
drwx------ 2 0 0 0 Jan 1 1970 root
drwxr-x--- 2 1000 1000 0 Jan 6 00:07 sbin
drwxr-xr-x 2 0 0 0 Jan 6 00:07 sdcard
drwxr-xr-x 15 0 0 0 Jan 1 1970 sys
drwxr-xr-x 3 1000 1000 0 Jan 1 1970 system
drwxr-xr-x 2 1000 1000 0 Jan 6 00:07 tmp/CODE]
also i have not tried the goldcard method but i cannot get the CID of the device
thanks in advance guys!
Thanks
Kyle
well guys i tried following the instructions of /forum.xda-developers.com/showthread.php?t=639107&page=5 and i bricked it...it just sits at the HTC magic screen :/
oh well thanks in advance!

CM7 MAC Address Fix

I could not post directly in the development thread as I joined simply to share my solution. If anyone can confirm and prepare a better guide please post to CM7 thread by whistelstop.
You will need your factory mac address.
MAC Addresses all being the same is due to the nvs_map.bin file required by the tiwlan driver. dmseg driver will tell you it is looking for it and defaulting mac address.
I am running CM7 mileage will vary in stock rom.
http://www.omappedia.org/wiki/Porting_MCP_WLAN_to_Android#TxBiP_Calibration
I used the calibration instructions in terminal emulator on cm7 Kindle as "su"
#wlan_cu –b
# / w p 1 l 2 f 2
# / t b v 21
# / t b t 1 0 0 0 0 0 0 0
#/ q
New nvs_map.bin file will be ceated in /data/misc/wifi/
#cp /data/misc/wifi/nvs_map.bin to /sdcard/nvs_map.bin
connect to linux/windows host copy file to pc
open with hex editor I used xvi32 for windows.
link to my source for instruction for byte order and editing.
http://processors.wiki.ti.com/index...ce_(CLI)_User's_Guide#Editing_the_MAC_Address
Short instructions:
Editing the MAC Address
After the TX BIP runs, there is a new file called nvs_map.bin in Linux that contains the MAC address and the calibration data. The document SWAA044_NVS_INI_File_Functions_AN.pdf contains the format of the NVS file. If MAC address fields are manually edited with a hex editor, the byte order should be low byte first, followed by the high byte:
MAC address low register (offset 0x01 to 0x02)
MAC address LSB (offset 0x3 to 0x06)
MAC address high register (offset 0x08 to 0x09)
MAC address MSB (offset 0x0A to 0x0D)
The MAC address LSB and MAC address MSB, respectively, are shown in bold in the
following code for 08:00:28:12:34:56:
0000: 01 6d 54 56 34 12 28 01 71 54 00 08
For 11:22:33:44:55:66:
0000: 01 6d 54 66 55 44 33 01 71 54 22 11 00 00
Using a hex editor, you should change the bold numbers to the MAC address you
want to use.
Be careful about byte order and look closely at examples.
Good Luck
Please confirm instructions yourself and use at your own risk
Just tried that and it worked beautifully!
Thanks for that - great find!
TheKid2 said:
I could not post directly in the development thread as I joined simply to share my solution. If anyone can confirm and prepare a better guide please post to CM7 thread by whistelstop.
You will need your factory mac address.
MAC Addresses all being the same is due to the nvs_map.bin file required by the tiwlan driver. dmseg driver will tell you it is looking for it and defaulting mac address.
I am running CM7 mileage will vary in stock rom.
As I can not post links you will need to google my text and find correct link (noob)
maybe a moderator can fix for me.
######.omappedia.org/wiki/Porting_MCP_WLAN_to_Android#TxBiP_Calibration
I used the calibration instructions in terminal as "su"
#wlan_cu –b
# / w p 1 l 2 f 2
# / t b v 21
# / t b t 1 0 0 0 0 0 0 0
#/ q
New nvs_map.bin file will be ceated in /data/misc/wifi/
#cp /data/misc/wifi/nvs_map.bin to /sdcard/nvs_map.bin
connect to linux/windows host copy file to pc
open with hex editor I used xvi32 for windows.
link to my source for instruction for byte order and editing.
##processors.wiki.ti.com/index.php/OMAP35x_Wireless_Connectivity_WL1271_Command_Line_Interface_(CLI)_User%27s_Guide#Editing_the_MAC_Address
Short instructions:
Editing the MAC Address
After the TX BIP runs, there is a new file called nvs_map.bin in Linux that contains the MAC address and the calibration data. The document SWAA044_NVS_INI_File_Functions_AN.pdf contains the format of the NVS file. If MAC address fields are manually edited with a hex editor, the byte order should be low byte first, followed by the high byte:
MAC address low register (offset 0x01 to 0x02)
MAC address LSB (offset 0x3 to 0x06)
MAC address high register (offset 0x08 to 0x09)
MAC address MSB (offset 0x0A to 0x0D)
The MAC address LSB and MAC address MSB, respectively, are shown in bold in the
following code for 08:00:28:12:34:56:
0000: 01 6d 54 56 34 12 28 01 71 54 00 08
For 11:22:33:44:55:66:
0000: 01 6d 54 66 55 44 33 01 71 54 22 11 00 00
Using a hex editor, you should change the bold numbers to the MAC address you
want to use.
Be careful about byte order and look closely at examples.
Good Luck
Please confirm instructions yourself and use at your own risk
Click to expand...
Click to collapse
I'll verify tomorrow. Thanks for taking the time to help run this to ground and get a workaround.
** Deleted **
For new driver only ....
so next cm7 build will get the fix
right?
As it was my first post forum would not allow me to post links I am hoping someone will clean up solution and add to development thread.
whistlestop said:
I'll verify tomorrow. Thanks for taking the time to help run this to ground and get a workaround.
Click to expand...
Click to collapse
love this rom , I have four of these running on my router now with original factory mac addresses, Thank You for your work. I know from personal experience hours and hours can just disappear when you get involved with a project of this type.
Is there a way to get the factory MAC address while still in CM7 or do I have to load the stock ROM to get it and then go back to CM7?
I have not found am method other than loading stock software back on device.
If you only have one kindle on your network you most likely will never have a problem.
If you had more than one running cm7 you could have router issues as they all were reporting same mac address. You will not have any issues unless another cm7 kindle shows up on the same wireless access point as yours.
Unless you have a router log or something with your former mac address, I think you have to reload stock to find it. Thats what I did anyway.
Thanks to the OP for posting this; worked like a charm!
direct editing
could we use a hex editor to change the local file on the kindle?
I spotted one at the market place, and combined with SU privileges it might get the job done.
jfb9301 said:
could we use a hex editor to change the local file on the kindle?
I spotted one at the market place, and combined with SU privileges it might get the job done.
Click to expand...
Click to collapse
any hex editor should work. I am so use to using laptop still adjusting to touch keyboard.
Hopefully better instructions
having just stumbled through to OPs instructions (hats off to the OP for finding this). Successfully I might add, I thought I'd write up a hopefully more clear method of achieving this.
As I have had difficulty with the adb.exe command (connection issues, probably from a dodgy connection if I have too many USB devices plugged in) I chose to use applications local to my Kindle itself for as much as I could.
Apps:
adb.exe (the one that came with Kindle_Fire_Utility worked for me) grab a copy of this useful tool here kindle fire utility thread
Root explorer from the android market android market link
HexEditor android market link
Kindle fire
Computer
Data:
Your original MAC address - this might suck to get, as you will have to get it from your Kindle booted to stock Kindle Fire Firmware. I had installed CM7 using TWRP, so I booted to TWRP did a backup of my current CM7 OS, did a restore to the KF OS, booted to stock(rooted) opened up settings/device and nabbed that pesky MAC address, rebooted to TWRP, restored CM7.
Instructions:
connect KF to computer
open the computers start menu and select run, type CMD in the box
navigate to kindle_fire_utility/tools
type command: adb shell
adb should open and start communication with you Kindle
within the shell you have to type the following (be mindful of the spaces as they are important, ignore the #s as they are to make this post put the spaces in):
#wlan_cu –b
# / w p 1 l 2 f 2
# / t b v 21
# / t b t 1 0 0 0 0 0 0 0
#/ q
now use ctrl-c to end ADB, and command:
exit
to close cmd, you are done with windows.
now the kindle part...
open root explorer
/data/misc/wifi
select nvs_map.bin and copy to the sdcard, I made two copies and named the second nvs_map.bin.bak just in case things got screwed from this point on.
exit root explorer
open HexEditor
open /sdcard/nvs_map.bin and change the digits in the very first line of the file
(example from OPs post)
following code for 08:00:28:12:34:56:
0000: 01 6d 54 56 34 12 28 01 71 54 00 08 00 00
For 11:22:33:44:55:66:
0000: 01 6d 54 66 55 44 33 01 71 54 22 11 00 00
save the file
use root explorer to copy it back to /data/misc/wifi
long press the file and set permissions to RW-RW-RW-
Reboot.....
Done
---------- Post added at 04:09 PM ---------- Previous post was at 03:11 PM ----------
I confimed MAC address using my wifi router (DDWRT) is awesome.
Does anyone know a way to get CM7 to cough up the kindles MAC address?
I'm having some difficulties with these instructions. I've tried with the WiFi setting from CM7 on and off, and also with the full instructions from the omappedia.org site, and it's still not working. A quick Google didn't come up with anything.
This is my output (from an ADB shell, obviously):
Code:
# insmod /system/etc/wifi/tiwlan_drv.ko
# start wlan_loader
# ifconfig tiwlan0 up
# wlan_cu –b
ERROR - IpcWpa_Sockets_Open - can't connect the socket
******************************************************
Connection to supplicant failed
******************************************************
ERROR - IPC_STA_Private_Send - error sending Wext private IOCTL to STA driver (ioctl_cmd = 800003, res = -1, errno = 19)
ERROR - driver is not in RUNNING state!
user_main, start
\> Driver/, Connection/, Management/, Show/, Privacy/, scAn/, roaminG/, qOs/, poWer/, eVents/, Bt coexsistance/, Report/, dEbug/, biT/, aboUt, Quit
/ D S
\> Driver/, Connection/, Management/, Show/, Privacy/, scAn/, roaminG/, qOs/, poWer/, eVents/, Bt coexsistance/, Report/, dEbug/, biT/, aboUt, Quit
.../Driver> Start, sTop, stAtus
ERROR - IPC_STA_Private_Send - error sending Wext private IOCTL to STA driver (ioctl_cmd = 8000001, res = -1, errno = 19)
ERROR - Failed to start driver!
I have tried it with and without the first three lines (going straight to wlan_cu -b), and the / D S line is an unsuccessful attempt to start the driver. An attempt to just push through all the commands gives an error message with every line, and does not create the nvs_map.bin file.
Anyone have any ideas?
I had wifi on, and did not run the first 3 commands. No thoughts beyond that.
For reference, I am on the latest CM7 with the updated video stuff by wistlestop (I think)
csyria6919 & jfb9301,
I can confirm, you'll get the errors csyria6919 gets with WiFi OFF - turn on Wifi on the KF and then the ADB commands work without errors.
VERY NICE Fix - +1 thanks to TheKid2!
~J
csyria6919 said:
I'm having some difficulties with these instructions. I've tried with the WiFi setting from CM7 on and off, and also with the full instructions from the omappedia.org site, and it's still not working. A quick Google didn't come up with anything.
This is my output (from an ADB shell, obviously):
Code:
# insmod /system/etc/wifi/tiwlan_drv.ko
# start wlan_loader
# ifconfig tiwlan0 up
# wlan_cu –b
ERROR - IpcWpa_Sockets_Open - can't connect the socket
******************************************************
Connection to supplicant failed
******************************************************
ERROR - IPC_STA_Private_Send - error sending Wext private IOCTL to STA driver (ioctl_cmd = 800003, res = -1, errno = 19)
ERROR - driver is not in RUNNING state!
user_main, start
\> Driver/, Connection/, Management/, Show/, Privacy/, scAn/, roaminG/, qOs/, poWer/, eVents/, Bt coexsistance/, Report/, dEbug/, biT/, aboUt, Quit
/ D S
\> Driver/, Connection/, Management/, Show/, Privacy/, scAn/, roaminG/, qOs/, poWer/, eVents/, Bt coexsistance/, Report/, dEbug/, biT/, aboUt, Quit
.../Driver> Start, sTop, stAtus
ERROR - IPC_STA_Private_Send - error sending Wext private IOCTL to STA driver (ioctl_cmd = 8000001, res = -1, errno = 19)
ERROR - Failed to start driver!
I have tried it with and without the first three lines (going straight to wlan_cu -b), and the / D S line is an unsuccessful attempt to start the driver. An attempt to just push through all the commands gives an error message with every line, and does not create the nvs_map.bin file.
Anyone have any ideas?
Click to expand...
Click to collapse
Hi,
I only used docs as reference. Wifi should be turned on on Kindle. I issued all command from terminal emulator running on Kindle. Hope you have found solution that works for you. Also there are spaces in between just about every letter in the commands.
Let us know if you were successful.
Hello,
I am hearing about cpu utilization issue in another thread. http://forum.xda-developers.com/showthread.php?t=1411895
Can anyone running cm7 and using nvs_map file check utilization connected to secure network. My installation is not exhibiting cpu behavior stuck at 1008 that is being described. Wondering if using calibration file is actually improving performance.
As a side not same file can be used in the current build of ics they are developing in that thread.
cpu scaling issue does not show up on unsecured net. Need a few people to sound off here to determine if my kindles are the only ones not having scaling issue.
Thanks
Is there somewhere in cm7 to check cpu utilization, I looked everywhere ended up downloading task manager from market. Seems like task manager, and performance monitor should be in there somewhere. I am sure I am overlooking something simple.
Thanks
TheKid2 said:
Is there somewhere in cm7 to check cpu utilization, I looked everywhere ended up downloading task manager from market. Seems like task manager, and performance monitor should be in there somewhere. I am sure I am overlooking something simple.
Thanks
Click to expand...
Click to collapse
I used your guide, got CM7 on my device and will check that once I get home.
To check CPU utilization I'd recommend CPU Spy https://market.android.com/details?id=com.bvalosek.cpuspy

[Q] Dalvik-cache ?

Hi.
Where is Dalvik-cache placed here ?:
Code:
# ls -al
total 256
drwxr-xr-x 23 root root 4096 Jun 24 10:08 .
drwxr-xr-x 23 root root 4096 Jun 24 10:08 ..
drwxr-xr-x 2 root root 4096 Nov 20 2011 .config
-rw-r--r-- 1 root root 147816 Jun 24 10:08 .readahead
drwxr-xr-x 2 root root 4096 Jan 5 08:16 bin
drwxr-xr-x 3 root root 4096 Nov 20 2011 boot
drwxr-xr-x 18 root root 4400 Jun 24 10:10 dev
drwxr-xr-x 118 root root 12288 Jun 24 10:08 etc
drwxr-xr-x 4 root root 4096 Nov 20 2011 home
drwxr-xr-x 22 root root 12288 Jan 5 08:16 lib
drwx------ 2 root root 16384 Nov 20 2011 lost+found
drwxr-xr-x 3 root root 60 Jun 24 10:10 media
drwxr-xr-x 2 root root 4096 Oct 25 2011 mnt
drwxr-xr-x 4 root root 4096 Dec 27 17:24 opt
dr-xr-xr-x 164 root root 0 Jun 24 2012 proc
drwx------ 27 root root 4096 Jun 24 10:25 root
drwxr-xr-x 21 root root 680 Jun 24 10:27 run
drwxr-xr-x 3 root root 12288 Jan 5 08:17 sbin
drwxr-xr-x 2 root root 4096 Oct 25 2011 selinux
drwxr-xr-x 4 root root 4096 Nov 10 2011 srv
drwxr-xr-x 12 root root 0 Jun 24 10:07 sys
drwxrwxrwt 18 root root 4096 Jun 24 10:25 tmp
drwxr-xr-x 12 root root 4096 Nov 10 2011 usr
drwxr-xr-x 15 root root 4096 Oct 1 2011 var
It is normally /data/cache/dalvik-cache
You have no data on there though....
I'm sure you are right.
Many thanks for your reply
# ls -al data/
total 96
drwx------ 3 Lajka users 32768 Jun 23 08:37 .
drwx------ 17 Lajka users 32768 Jan 1 1970 ..
drwx------ 2 Lajka users 32768 Jun 23 18:24 com.keramidas.TitaniumBackup
Click to expand...
Click to collapse
Its /data/dalvik-cache/
Send from my LG GT540 Android 4.0.3 Polishblood PreRC CM9
Thanks, and means, that I have no dalvik-cache ?.
Why?
hmm where did you get this and what are you trying to do? You dont have a recovery?
Hi.
What do you mean ?.
I have accessed the GT540 from my linux box, and can't see it.
I would delete the dalvik-cache.
No recovery available.
What's a way to get it ?.
Maybe there is a way but ... get a recovery
Please advice me to make a recovery, thanks!
aalested said:
Please advice me to make a recovery, thanks!
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1224747 just follow this
Indeed this was a nice link. Many many thanks :laugh:
Does this mean to be done when the telephone starts up ?
Next put your phone in Fastboot mode by rebooting then holding Camera+Power
Click to expand...
Click to collapse
aalested said:
Does this mean to be done when the telephone starts up ?
Click to expand...
Click to collapse
to go in fastboot mode turn your phone off. then press power on and at the same time hold the camera button
@andreas__
Thank you. I tried it, and the screen gets black and warm, nothing else.
Why that ?.
From this thread:
http://http://forum.xda-developers.com/showthread.php?t=1224747
There stands:
Now, installing custom ROMs. Pick any ROM you'd like from the ROM Development section, if you can, get the recovery version, it is much easier to install. Determine if it is a recovery backup, or update.zip
Click to expand...
Click to collapse
Which one can I use for my GT540 with Android 2.1 ?
aalested said:
@andreas__
Thank you. I tried it, and the screen gets black and warm, nothing else.
Why that ?.
Which one can I use for my GT540 with Android 2.1 ?
Click to expand...
Click to collapse
you did it correct if its black.
you now have to setup fastboot for your PC.
If you installed the drivers and have the needed files on your PC you can flash recovery.
Easy Fastboot tool by Junwei178:
http://forum.xda-developers.com/showthread.php?t=1729020
If you have recovery installed, you can flash any ROM you want.
Yep if you use the tool get the original version. first use the repartition tool (for more app space) (select the 150Mb)then when that is done flash a recovery then flash a system followed by a boot. the on screen instructions should be easy enough to follow
andreas__ said:
you did it correct if its black.
you now have to setup fastboot for your PC.
If you installed the drivers and have the needed files on your PC you can flash recovery.
Easy Fastboot tool by Junwei178:
http://forum.xda-developers.com/showthread.php?t=1729020
If you have recovery installed, you can flash any ROM you want.
Click to expand...
Click to collapse
Thanks for your reply.
But which ROM can I use for my GT540 with Android 2.1 ?
Link please, thank you
-Grift- said:
Yep if you use the tool get the original version. first use the repartition tool (for more app space) (select the 150Mb)then when that is done flash a recovery then flash a system followed by a boot. the on screen instructions should be easy enough to follow
Click to expand...
Click to collapse
Ok, but where is the "the tool get the original version" ?
Link ?.
aalested said:
Thanks for your reply.
But which ROM can I use for my GT540 with Android 2.1 ?
Link please, thank you
Click to expand...
Click to collapse
as -Grift- gave full instructions for the fastboot tool you now should have android 2.3 installed on your GT540.
IF you REALLY want back to 2.1 (maybe because of battery life)
check this:
http://forum.xda-developers.com/showthread.php?t=1368013
@andreas__
Manny thanks, great!

Categories

Resources