Hey everybody,
When I follow the guide by LIV2 i get stuck at the part when you install the programs like gdm3 and gnome, while your chrooted into the install. Get this error back at me. Here's the copy of the command line
Package initramfs-tools is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Unable to locate package xserver-xorg-video-fbdev
Unable to locate package xserver-xorg-input-evdev
Unable to locate package gdm3
Unable to locate package gnome
Package 'initramfs-tools' has no installation candidate
Unable to locate package wpa-supplicant
Is there a way for me to fix this?
Thanks
Related
Hello, I have followed allthe proedure step by step but when i go to the build section of the OS when i open theBuildOS and run it but i get the following error. External component has thrown an exception. On the bottom of the BuildOS it writes "Error, last status: "Creating initflashfiles.dat...".
Can anybody help me what is this error and how i can fix it.
Thanks
look in the kitchen\temp directory for a file called log.txt. it should tell you what failed. I haven't used this kitchen, but that should be where it is.
Hi everyone,
I can cd to directories and list files with no problem on my device. It's rooted, ADB works, I can install .apks, etc...
However, I tried to install an .apk in /system/app, and there was not enough room. So, I used the adb install command to install, and specified it to install to /data/app (where there is room, according to df) and I get this error:
"can't find '/data/app' to install"
Again, I can cd to /data/app, and I can list files there -- the directory DOES exist on my device. But when I specify any directory (not just /data/app) to install to explicitly, I get the "can't find... to install" error.
I have never seen this before. What gives?
I'm not sure what command you're using but you don't need to specify a directory in which to install to. Just use 'adb install myapp.apk' and it will put it in /data/app. From the sounds of it ADB is trying to find another package to install called "/data/app" and failing to find it.
It seems it is not an easy thing to start android development. I followed the official instruction and tried to run the MyFirstApp example from developer.android.com on my Windows 7 64bit machine with AVD. But after 2 days effort, I am still cannot make it work for me in Eclipse and in adb command line.
The best I reached in command line approach is the following -- the second block with italic words shows the error I got:
Code:
E:\Workspace\MyFirstApp>ls bin
AndroidManifest.xml build.prop
AndroidManifest.xml.d classes
MyFirstApp-debug-unaligned.apk classes.dex
MyFirstApp-debug-unaligned.apk.d classes.dex.d
MyFirstApp-debug.apk dexedLibs
MyFirstApp.ap_ proguard.txt
MyFirstApp.ap_.d res
[I][B]E:\Workspace\MyFirstApp>adb install bin\MyFirstApp-debug.apk
failed to copy 'bin\MyFirstApp-debug.apk' to '/data/local/tmp/MyFirstApp-debug.a
pk': No such file or directory
rm failed for /data/local/tmp/MyFirstApp-debug.apk, No such file or directory[/B][/I]
I hope somebody can help me about these:
1. I am in Windows with AVD, why adb want to find /data/local/tmp, which is linux style location?
2. where does the adb try to copy the apk file to? My SDK is installed under "C:\Users\myname\AppData\Local\Android\android-sdk". There is no space in the address path. The source apk file is ready and should not be the cause of that error, I think.
3. Any configuration of the installed SDK needs to be modified in Windows machine? I think the SDK manager should be able to figure out what the machine is and download/install appropriate components for the user. Is that right?
I have similar or the same issue by using Eclipse.
thanks,
Can anyone suggest anything for this problem please? I get the error 'command not found' when I try to execute the toolkit.sh script on Lubuntu 13.10
I can't post this in the proper thread as it's a developer thread.
The original thread is here:
http://forum.xda-developers.com/showthread.php?t=2240029
I followed the instructions on this post:
http://forum.xda-developers.com/showpost.php?p=46155577&postcount=1843
Here are the exact steps I did:
1. Installed Lubuntu 13.10 fresh install to a NEC Versa ONE laptop
2. In LXTerminal:
sudo su
sudo apt-get install android-tools-fastboot android-tools-adb
3. Restarted laptop
4. Extracted Acer Iconia Toolkit v0.8.0 zip file to 'iconia' folder on desktop
5. In LXTerminal:
sudo su
cd Desktop/iconia
chmod 777 toolkit.sh
toolkit.sh
Then I get the error 'toolkit.sh: command not found'
I've tried the following:
1. Checked that Python is installed. In Synaptic Package Manager it looks like there are loads of Python packages installed as default
2. Copied the 'iconia' folder into /bin using the PCManFM file manager and tried to execute the script but get the same error
3. Copied the toolkit.sh file to toolkit2.sh, edited it and put in the word 'guff' then executed it in terminal. The error stayed the same so it's not the script file?
I'm not really a Linux user so at this point I'm a bit stuck.
Cheers.
[A] Found a solution
I used this solution in another distro (Ubuntu 12.04.3) but it should work in Lubuntu
1. Extracted the acer_iconia_toolkit_v0.8.0.zip to the desktop
2. Run Terminal and type 'gksudo nautilus' to get a GUI file manager with root rights
3. Copy the extracted folder from the Desktop to the 'bin' folder (navigate backwards in the file manager)
4. Open the /bin/folder_you_copied, right click on the toolkit.sh file and choose Open
5. At the prompt 'Do you want to run 'toolkit.sh', or display its contents?' choose 'Run in Terminal'
6. Follow the on screen prompts
The tablet is now rooted
Hi guys,
I am trying to build the lineage os for the Samsung galaxy s7 on a Linux mint O/S. Each time I try and build the ROM I get an error saying I don't have the right manifests for the herolte device. So I then have downloaded the official version from here and have extracted the system image as instructed in the lineage build instructions.
The next step is to move to the device folder in the repo, in my case ~/android/lineage/device/samsung/herolte/, and then import the blobs across using "./extract-files.sh -d ~/android/system_dump/" from the already mounted system.img.
Each time I do this I get a file not found error, "bash: ./extract-files.sh: No such file or directory" and I am unsure what mistake I am making. I have checked that ADB works from the folder, which it does.
Anyone able to point me in the right direction here?
Bump
@Fevax do you have any ideas? I've tried searching through all lineage FAQ and google but by all accounts I'm doing this right. Have even purged the android build folder and re repo'ed everything?
The file extract-files.sh is located in ~/android/lineage/device/samsung/hero-common.
So, the correct command should be: ".~/android/lineage/device/samsung/hero-common/extract-files.sh -d ~/android/system_dump/"
Happy coding!