Problem with ubuntu on android - Off-topic

Hi. I have a problem with ubuntu 10.10 I'm writing in terminal emulator this:
cd /sdcard
su
sh ubuntu.sh
and after the command "sh ubuntu.sh" when I click enter it says "sh: Can't open ubuntu.sh" please help me
P.S. Sorry for my bad English, I'm Polish

is that script in the root directory of the sd card?

yes, it's on the root of sdcard

check that it is not a corrupted file( bad download maybe?) and its spelling... everything is case sensitive(so if the file is Ubuntu.sh, it wont open )

the spelling is okay. But I have a question... When I'm unpacking the second .rar file should I overwrite the files?

If the archive is split in 2 or more parts then no..
Are you following some kind of tutorial?

tutorial...? No... why can not I connect them?

dont know what you mean... you dont provide enough info. try googling it

I mean why can't I connect the two .rar files?

whats your (compressed) file structure? try this http://answers.yahoo.com/question/index?qid=20091206193922AAXXgNJ

Should I pack up the folder and then unpack it?
sry for some mistakes, I use Google Translate
After a long time: "Can't open ubuntu.sh" -.-
what size should have the ubuntu.sh file and ubuntu.img ?

Open one of the archives with winrar. There you will see the files sizes
Sent from my HTC Sensation using XDA App

Related

Cannot copy <filename>: Access is denied

Hi guys,
I've done a search for previous posts on this but with no results.
Could someone please help me?
When attempting to copy a file from
<PDA>\Windows to PC ...
Window Title : Error converting file
Cannot convert file <filename>. Access is denied.
TIA
Annette
Try moving the file to another spot on the phone and then copy to the desktop.
Re: Access is denied
Thank you ChumleyEx.
It works for some files but not ones with +H +R +S and in ROM,
even after -H -R -S. Is this by default in WinCE 6.1?
Basically, I had to manually uninstall an app and rip it out off the Registry,
when I came across this annoyance. Obviously, I can't delete files in the ROM
but I can't even copy them. I was just wanting to copy dlls to my PC so that I could check their Properties to determine their function, version and company info.
Is there a way to do this perhaps using another app?
I'm using Total Commander.

Can't get apk's to install?

I got my NC rooted (I think LOL) I went through the root process and everything looks fine but now i'm trying to install some apk's and I cant get it to work. I want to install root explorer so I pulled the apk from my Htc Evo and put it in a folder on my desktop. Then in cmd I type
cd\
cd android-sdk-windows\platform-tools
adb kill-server
adb devices
I get my device listed so then I type (before the cursor it says C:\android-sdk-windows\platform-tools>)
adb install C:\documents and settings\owner\desktop\apks\root explorer 2.12.4.apk"
and I get a message that says "can't find 'explorer 2.12.4.apk' to install
I am stuck I don't know what to do. Please help me!!
I have tried the name root explorer 2.12.4.apk with and without spaces
Novarider said:
adb install C:\documents and settings\owner\desktop\apks\root explorer 2.12.4.apk"
Click to expand...
Click to collapse
If cmd is like Linux you have to put \ before spaces like root\ explorer\ 2.12.4.apk
its definitely related to where the apk is located or the file name.
Try putting quotes around the path such as....
adb install "c:\docume...."
If that doesn't work then create a folder on your c:\ called apk then move the file over to that folder and rename the .apk file to something without spaces.
Good luck!
So I am at the correct path? What EXACTLY do you type after you open the cmd? Can you just open the cmd and start installing apps or do you have to navigate to android-sdk-windows...
What do I need to type from the time I open cmd?
rob04 said:
its definitely related to where the apk is located or the file name.
Try putting quotes around the path such as....
adb install "c:\docume...."
If that doesn't work then create a folder on your c:\ called apk then move the file over to that folder and rename the .apk file to something without spaces.
Good luck!
Click to expand...
Click to collapse
The " around the path worked. Thanks!
Now that I have root explorer installed how do I use it? Can I put it on my home screen?

[Q] How to edit....

Hi everybody,
I have a small and simple question : how to edit xml files (I know I can use notepad but it doesn't work :crying and another one if I recompile an apk as zip file and then I change zip extansion to .apk will it work ??
Ann I think it's the last one how to open .img file on linux ?? all appps cannot mount cause it's not iso etc...
Hope you'll answer :good: :good:
1- use notepad+ or notepad2. Or gedit or geany on linux.
2- u cant. No such thing as compile as zip.
3- using mount. But that depends on filesystem format supported by kernel. Eg:
su
mkdir /mountpoint
mount /path/to/file/filename.img /mountpoint
If its system.img or som other img which cannot be extracted using poweriso,etc, you will need unyaffs or cygwin
Ok thanks a lot
Sent from my GT-S5830 with Tapatalk

Tweaking rom - begginer question ;)

Hi!
Since xda-univeristy arised i thought it would be nice to learn something about green droid
I am going to learn about tweaking and theming:and here comes dozens of my questions:
1. I have downloaded Official ics repack by N00BY0815
2. I extracted it and i have:
2 folders ( META-INF and System)
2 files boot.ing and system.img
How can i extract this system.img ?
I tried to use 7zip but it says that" it cannot open it as archive"
Thanks in advance and please for leniency
it can be opened with Diskinternals Linux Reader. if not. use "sgs2toext4.jar" to convert it to .img.ext4 and then open it
Nihiliu said:
Hi!
Since xda-univeristy arised i thought it would be nice to learn something about green droid
I am going to learn about tweaking and theming:and here comes dozens of my questions:
1. I have downloaded Official ics repack by N00BY0815
2. I extracted it and i have:
2 folders ( META-INF and System)
2 files boot.ing and system.img
How can i extract this system.img ?
I tried to use 7zip but it says that" it cannot open it as archive"
Thanks in advance and please for leniency
Click to expand...
Click to collapse
Everything for theming is in the System folder. All the APK's(Applications) Boot.img is probably the recovery image it installs. But to theme you would need to decompile the apks in the system folder
Everythink was in system folder in gingerbread, in this system folder i have only app folder with su.apk and bin folder with su file.
So files i need are in system.img
@broodplank1337 thanks for help, program works well, now i can begin
But first only one question, now i can extract files, but can i pack them using same tool ?
Nihiliu said:
Everythink was in system folder in gingerbread, in this system folder i have only app folder with su.apk and bin folder with su file.
So files i need are in system.img
@broodplank1337 thanks for help, program works well, now i can begin
But first only one question, now i can extract files, but can i pack them using same tool ?
Click to expand...
Click to collapse
I don't know much about S2 but can't you just use 7zip to make it an archive and flash it through rrecovery?
"Anger and intolerance are the enemies of correct understanding." -Mahatma Gandhi
Nihiliu said:
How can i extract this system.img ?
Click to expand...
Click to collapse
Hi. You can use dsixda's Android Kitchen for that.
Nihiliu said:
Everythink was in system folder in gingerbread, in this system folder i have only app folder with su.apk and bin folder with su file.
So files i need are in system.img
@broodplank1337 thanks for help, program works well, now i can begin
But first only one question, now i can extract files, but can i pack them using same tool ?
Click to expand...
Click to collapse
You can pack them with the android kitchen, install the zip, then you do this in terminal emulator to make the system.img file:
Code:
su
cat proc/mounts
now look up the system partition, in my case it's mmcblk0p14
Code:
dd if=/dev/block/mmcblk0p14 of=/sdcard/system.img BS=4096
This will dump the system partition to system.img (for example when making an odin image)

[Q] Cannot delete file

I Downloaded a WinRAR file onto my S5 for my computer. It is in my downloads folder on the internal storage of my S5. I have deleted everything out of the folder itself but cannot delete the folder. It annoys me. When I try to delete it I get this dialog box:
"Error deleting folder" Cannot delete WinRAR 5.21 Final(x86-x64) Pre-Activated 100(weird Chinese symbol) an install: The storage is write protected.
Remove the write protection and try again.
I am not stupid...I've tried everything I could think of and cannot remove the write protection or anything. For some reason I think it may be because of the weird Chinese symbol that is after the "Pre-Activated 100"
I cannot rename it, modify it or anything. It is the only file I am having a problem with. Can anybody help me with my OCD?
Is your phone rooted? If yes, you can either use adb or just a terminal emulator app, and delete the cr.p of that file!
Edit: the command you're looking for:
su
cd /mnt/sdcard
rm -r Download
That will remove the Download folder along with all its content. (this is irreversible)

Categories

Resources