cm7 repo directory fix.. - Android Q&A, Help & Troubleshooting

i am running ubuntu 12.04 precise pangolin on a wubi install ...i am syncing cm7 sources and my home directory got filled(just 1 gb space left)...is there any way to copy the system folder of repo and paste it on another drive(i have 2 100gig+ vacant drives).....i tried doing that but when i give the command to sync it says permission denied..so what are the permissions and how to set it...my connectivity is damn slow i cant afford to download it all over again......
please i tried googling but nothing relevant was found.....
please any help would be appreciated....

ajay8055 said:
i am running ubuntu 12.04 precise pangolin on a wubi install ...i am syncing cm7 sources and my home directory got filled(just 1 gb space left)...is there any way to copy the system folder of repo and paste it on another drive(i have 2 100gig+ vacant drives).....i tried doing that but when i give the command to sync it says permission denied..so what are the permissions and how to set it...my connectivity is damn slow i cant afford to download it all over again......
please i tried googling but nothing relevant was found.....
please any help would be appreciated....
Click to expand...
Click to collapse
What is your repo path?
Code:
find $HOME -type f -iname*.repo

http://wiki.cyanogenmod.com/wiki/Samsung_Galaxy_S:_Compile_CyanogenMod_(Linux)
im following this tutorial
my repo path is
~/android/system
i want to change to the other vacant drive's that i have ......

ajay8055 said:
http://wiki.cyanogenmod.com/wiki/Samsung_Galaxy_S:_Compile_CyanogenMod_(Linux)
im following this tutorial
my repo path is
~/android/system
i want to change to the other vacant drive's that i have ......
Click to expand...
Click to collapse
Tarball or zip up that android folder by right clicking on it - choose compression method - when done move to your HDD. Then uncompress, CD into android/system then your done.
Sent from my Galaxy Nexus using xda premium

Related

[TOOL] System apps update.zip auto creator

Hi all
I have created for my first java program a update.zip creator for the nexus one.
This will create a flashable update.zip for updating the system apps on your choice.
I created it for my self to save me time making them every time I wanted to save memory on my phone by moving apps from /data to /system partition (could just of written a script), so thought I would share it.
This is a console tool written in java and only for linux, it will only work on a rooted nexus one running clockwork mod recovery (have not tried any other recovery).
Tested on: nexus one, clockwork mod, CM 7
Programs you can choose to add to the update.zip:
Amazon mp3
Maps
Facebook
Gmail
Rom manager
Android market
Twitter
Youtube
Voice search
Super user
Read the README on how to use it.
Don't forget to run the adb server as root!
Download: http://www.mediafire.com/?pekm9ehswe49x
Any questions,problems,suggestions let me know.
README
Code:
This is a tool I have created for my self to speed up making update.zips for my nexus one and am now sharing.
It is my first java program so it's not perfect but it will improve over time as I learn.
This program will create and sign an update.zip file that will move apps you choose from the /data/app patition to the /system/app partition
It has only been designed to work with the nexus one using Cyanogen mod.
How it works
First it pulls all apps from the /data/app partition on your phone into a created directory with in the PWD
it then scans all the apps for key names of the apps
then if it finds certain apps, it will then ask you if you would like to add it to the update.zip
it then creates the update-script with the commands to delete the apps from the /data/app and copy them to the /system/partition
then it zips the contents and finaly uses the testsign.jar to sign the package.
In the PWD the following programs are needed to run updater-creator:
adb
testsign.jar
update-binary
**** RUNNING THE PROGRAM *****
You must download the apps from the market that you want to update
Leave updater-creator.jar in the directory with ADB and other programs, moving it will prevent the program from finding the programs it needs to run.
You must enable USB debugging on your phone as this program uses ADB.
To run updater creator:
*unzip the file and contents into a directory .
*cd to the dir you unzipped the files to.
*Plug phone in
*Run 'sudo ./adb kill-server' then 'sudo ./adb start-server'
*run the updater-creator.jar file using the following command: java -jar updater-creator.jar
This will create folders and files needed with in the PWD.
Each time you run updater-creator it will over write all previously created files.
I'll give it a try, thank you for sharing your hard work any chance of adding the "read me instructions" to your first post?
Thanks again
Gr8 work,definitely will try it once I get back home
Sent from my Nexus One using XDA App
tina333 said:
I'll give it a try, thank you for sharing your hard work any chance of adding the "read me instructions" to your first post?
Thanks again
Click to expand...
Click to collapse
README now added. Let me know if it works ok or if there are any problems with it, I have tested it my self and had a friend test it with out any problems
If there are any more common apps or features you would like me to add let me know and I will see what I can do.
thank you!! I think this would be pretty useful for myself

[Q] How to install a terminal (Debug Tool) in FRX06

Hi!
I have installed the [BUILD] **Complete Froyo Bundle!!** FRX06 - "Stable" - Minor Fixes, but I have no WiFi.
In a previous version was included by default Debugging tool which would allow a terminal to be launched in order to copy the wifi-nvram file from the SD card towards the /data folder.
How to get the Debugging Tool / Terminal in this version ?
Any help welcome !
Thanks,
JM
jsalsa said:
Hi!
I have installed the [BUILD] **Complete Froyo Bundle!!** FRX06 - "Stable" - Minor Fixes, but I have no WiFi.
In a previous version was included by default Debugging tool which would allow a terminal to be launched in order to copy the wifi-nvram file from the SD card towards the /data folder.
How to get the Debugging Tool / Terminal in this version ?
Any help welcome !
Thanks,
JM
Click to expand...
Click to collapse
Unfortunately you can't. Use ConnectBot from the Market.
For the wifi-nvram.txt trick why don't you just use the user.conf file to bind mount it? That way you wouldn't ever have to do it again... Do it once, then never worry about it again...
Thanks !
For ConnectBot, this is a SSH client. how to connect locally: localhost I presume, But which login/password?
For user.conf file, I did not know its existence . have added the "cp /sdcard/wifi-nvram.txt /data/wifi-nvram.txt" at the end, let's see if this works at next reboot.
Thanks again !
jsalsa said:
Thanks !
For ConnectBot, this is a SSH client. how to connect locally: localhost I presume, But which login/password?
For user.conf file, I did not know its existence . have added the "cp /sdcard/wifi-nvram.txt /data/wifi-nvram.txt" at the end, let's see if this works at next reboot.
Thanks again !
Click to expand...
Click to collapse
ConnectBot works locally. Instead of SSH, choose "Local"...
Let me know if you need help with the user.conf command. Should work, haven't tried it myself...
Thanks once more.
the user.conf trick did the trick already.
Many thanks !
JMS
jsalsa said:
Thanks once more.
the user.conf trick did the trick already.
Many thanks !
JMS
Click to expand...
Click to collapse
np. Figured that is the easiest method for fixing this... now you can just leave the file on your SD card and user.conf will always mount it for you .
arrrghhh said:
ConnectBot works locally. Instead of SSH, choose "Local"...
Let me know if you need help with the user.conf command. Should work, haven't tried it myself...
Click to expand...
Click to collapse
can u tell me how does user.conf work ? what do i have to do ?
the show stopper said:
can u tell me how does user.conf work ? what do i have to do ?
Click to expand...
Click to collapse
Boot back to WinMo, edit the froyo.user.conf file (in the 'conf' folder on your SD card, where Android is...)
I like editing these files with Notepad++ but I think Wordpad will handle the enter keys correctly (regular Windows Notepad won't!)
At the bottom, you'll see a "CustomCommands" section. Within the braces ({}) add a line -
Code:
ln -s /sdcard/wifi-nvram.txt /data/wifi-nvram.txt
Make sure it's on its own line, look at some of the other commands for an example (look at the rm command...)
That's the skinny... hopefully it works! This assumes the wifi-nvram.txt file you created (with your MAC address in it) is at the root of the SD card (look at the command, /sdcard/wifi-nvram.txt... if it's in a 'mods' folder which is at the root of the SD, then the path would be /sdcard/mods/wifi-nvram.txt...)
? Purpose
arrrghhh said:
Boot back to WinMo, edit the froyo.user.conf file (in the 'conf' folder on your SD card, where Android is...)
I like editing these files with Notepad++ but I think Wordpad will handle the enter keys correctly (regular Windows Notepad won't!)
At the bottom, you'll see a "CustomCommands" section. Within the braces ({}) add a line -
Code:
ln -s /sdcard/wifi-nvram.txt /data/wifi-nvram.txt
Make sure it's on its own line, look at some of the other commands for an example (look at the rm command...)
That's the skinny... hopefully it works! This assumes the wifi-nvram.txt file you created (with your MAC address in it) is at the root of the SD card (look at the command, /sdcard/wifi-nvram.txt... if it's in a 'mods' folder which is at the root of the SD, then the path would be /sdcard/mods/wifi-nvram.txt...)
Click to expand...
Click to collapse
What is the result of moving this file what does this do,fix,solve? P.s. sincere?Not being sarcastic just curious.
Phatboyj420 said:
What is the result of moving this file what does this do,fix,solve? P.s. sincere?Not being sarcastic just curious.
Click to expand...
Click to collapse
What is this, I don't even...
If you're asking what this fixes, it's for wifi problems. I think someone tried this trick, and it didn't work. You actually have to place the .txt file instead of symlinking.

[Q] file app

The g9 has a good file app can it be extracted to use on a phone like the atrix ? What I'm looking for is the network browser part.
My goal is to use my g9 as a media server use my old phone with the HDMI and connect it to a TV the TV has a USB that will charge the phone then I have a make shift Google TV
probably wont work but here i'll upload the apk for you
http://www.mediafire.com/?j5f3jaofx2m0j4m
Wow that was fast thank you I'll post back if it works
Also if you don't mind could you explain how you got it so in the future I can do it myself! Well need a new computer first lol
robertlawson225 said:
Wow that was fast thank you I'll post back if it works
Also if you don't mind could you explain how you got it so in the future I can do it myself! Well need a new computer first lol
Click to expand...
Click to collapse
you can find it in /system/app
I don't think it will work however since it's odexed. perhaps a deodexed version would work better.
Have you tried ES Explorer?
Sent from my LG-VM670 using Tapatalk 2 Beta-2
2 weeks ago i have tryed to install the apk off archos file manager (is very nice and intuitive) on my lg optimus one with gyanogen but it doesn't work as told here. pity. ciao
It didn't work for me just won't install
Shano56 said:
you can find it in /system/app
I don't think it will work however since it's odexed. perhaps a deodexed version would work better.
Click to expand...
Click to collapse
Does anyone know how to deodexed this app?
robertlawson225 said:
Does anyone know how to deodexed this app?
Click to expand...
Click to collapse
you'll have to install this whole rom http://forum.xda-developers.com/showthread.php?t=1551682
Shano56 said:
you'll have to install this whole rom http://forum.xda-developers.com/showthread.php?t=1551682
Click to expand...
Click to collapse
Thanks for the info but this is my sons g9 and I don't want him to have root can just the app be extracted or does it have to be loaded on the tablet then extracted?
robertlawson225 said:
Thanks for the info but this is my sons g9 and I don't want him to have root can just the app be extracted or does it have to be loaded on the tablet then extracted?
Click to expand...
Click to collapse
you could ask someone else who has the deodex version
You can mount ext4 image as loop but you need linux (virtual machine will do)
tapatalked from Desire
gen_scheisskopf said:
You can mount ext4 image as loop but you need linux (virtual machine will do)
tapatalked from Desire
Click to expand...
Click to collapse
Do you have a link for instructions I do have a live USB Ubuntu will that work?
robertlawson225 said:
Do you have a link for instructions I do have a live USB Ubuntu will that work?
Click to expand...
Click to collapse
1. You need at least 600 MB of free space on USB (archos.ext4.zip and place to unpack)
2. Open terminal in the folder where archos.ext4 is located and:
Code:
mkdir mnt
sudo mount -o loop archos.ext4 mnt
3. Do whetever you wan to with files in ext4 image, then
Code:
sudo umount mnt
[optional] rm -r mnt
gen_scheisskopf said:
1. You need at least 600 MB of free space on USB (archos.ext4.zip and place to unpack)
2. Open terminal in the folder where archos.ext4 is located and:
Code:
mkdir mnt
sudo mount -o loop archos.ext4 mnt
3. Do whetever you wan to with files in ext4 image, then
Code:
sudo umount mnt
[optional] rm -r mnt
Click to expand...
Click to collapse
i will try thanks
robertlawson225 said:
i will try thanks
Click to expand...
Click to collapse
However keep in mind that apk may depend on system framework to work properly (in other words- I can't say if it will work on other device or not)
gen_scheisskopf said:
However keep in mind that apk may depend on system framework to work properly (in other words- I can't say if it will work on other device or not)
Click to expand...
Click to collapse
i know its a shot in the dark still want to try
ok i tried the steps you gave me but i must be missing something steps i took
i made a new folder dropped the .zip into the new folder, opened terminal i typed cd then drag and drop my new folder then hit enter
then i typed
mkdir mnt
sudo mount -o loop archos.ext4 mnt
i get "file type must be specified" or something like that
what did i miss?
You have to unpack the .zip
gen_scheisskopf said:
You have to unpack the .zip
Click to expand...
Click to collapse
OK will give it another shot
success I'll post a link once it uploads all apps and framework
Link http://db.tt/egAavEFX

Error in APKTOOL

I have installed SDK and java JDE in my windows XP..... Then download apktool from google and installed the executable file.
Now when I put required apk to directory and open command prompt and write any command regarding apktool.,
The output is
" 'apktool' is not recognized as an internal or external command, operable program or batch file"
Have I missed something???
Please help!!
Sent from my GT-S5830 using xda premium
I try to use it once...failed
Dude. I hope u have typed apktool insted of apkrool. And u need to have jre installed
AashayS said:
Dude. I hope u have typed apktool insted of apkrool. And u need to have jre installed
Click to expand...
Click to collapse
Edited post... Lol
N during sdk installation... They said that jre found and need jdk.. Then I downloaded jdk n installed also!!!
Sent from my GT-S5830 using xda premium
Apktool is only executable once you have changed directory (cd) into the system folder.
Alternative is to put apktools aapt.exe in your system path. Read this thread: http://forum.xda-developers.com/showthread.php?t=640592
Bakuron said:
Apktool is only executable once you have changed directory (cd) into the system folder.
Alternative is to put apktools aapt.exe in your system path. Read this thread: http://forum.xda-developers.com/showthread.php?t=640592
Click to expand...
Click to collapse
Can u help me to set up from beginning.... Please! I was unable to understand that post!!
Sent from my GT-S5830 using xda premium
thespb said:
Can u help me to set up from beginning.... Please! I was unable to understand that post!!
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Edit: Just follow these guides http://www.freeyourandroid.com/guide/install_android_sdk & http://www.freeyourandroid.com/guide/apktool
If you have unzipped and installed properly;
1. In command prompt type- cd c:/windows/ Then you are in the correct directory to execute APKTool.
2. If you dont want to have to do 1 each time then do this. Go to Control Panel, System, Advanced, Environment Variables, then find PATH, double click it and type at the end of it- ;C:\android-sdk-windows\platform-
tools;C:\android-sdk-windows\tools
After doing 2. you should just be able to type APKTool into the command prompt from any directory and it will run.
install JavA
R u kidding me?
U installed Java?
forever king said:
R u kidding me?
U installed Java?
Click to expand...
Click to collapse
Java is required for apk tool
Sent from the year 3000 using a SGA where sheep's are not present.
I just didn't follow the instructions. If your system names a file type, why add an extra extension? I slammed my face against my screen for two hours before I had that thought. I simply left the names on the batch and jar files as "apktool". Works just fine, now. I hope this helps the next guy Phind sends this way.

[Q] adb pull fails with 'cannot create...'

Hello everyone,
I am trying to copy my entire sd card from my Nexus 4 to pc using adb pull /mnt/sdcard E:\Backups\nexus-4-sdcard-final\
It's going fine for a while, it's transfering all my files but after a while i get this error message:
Code:
cannot create 'E:\Backups\nexus-4-sdcard-final\Android\data\com.google.android.apps.docs.editors.slides\files\pinned_docs_files_do_not_edit\454c288823047ca656676a9effef1cb5\files\documents\1-MHOqmLRrNLLzh9TfmnCIzJBWxW-TNz3MrEHMsRWjkM\image\1nFkukIkRz4mJ6HfTZCaSv8gv94X-HBr8Rw5Uyy8Y': No such file or directory
I googled for a while and the only thing i found is this guy with similar error but he had folder on his phone with file name longer than 255 characters, it couldn't be created in windows and that's why adb was failing.
My question is:
Is there any flag for adb pull or way to skip files that can not be copied and keep copying?
Or if you can tell me how to avoid this error it's even better solution.
Thanks,
Milos
milos91 said:
Hello everyone,
I am trying to copy my entire sd card from my Nexus 4 to pc using adb pull /mnt/sdcard E:\Backups\nexus-4-sdcard-final\
It's going fine for a while, it's transfering all my files but after a while i get this error message:
Code:
cannot create 'E:\Backups\nexus-4-sdcard-final\Android\data\com.google.android.apps.docs.editors.slides\files\pinned_docs_files_do_not_edit\454c288823047ca656676a9effef1cb5\files\documents\1-MHOqmLRrNLLzh9TfmnCIzJBWxW-TNz3MrEHMsRWjkM\image\1nFkukIkRz4mJ6HfTZCaSv8gv94X-HBr8Rw5Uyy8Y': No such file or directory
I googled for a while and the only thing i found is this guy with similar error but he had folder on his phone with file name longer than 255 characters, it couldn't be created in windows and that's why adb was failing.
My question is:
Is there any flag for adb pull or way to skip files that can not be copied and keep copying?
Or if you can tell me how to avoid this error it's even better solution.
Thanks,
Milos
Click to expand...
Click to collapse
Why not use ADB Backup?
Far better than manually pulling (and easier to restore too).
Jaskaranbir Singh said:
Why not use ADB Backup?
Far better than manually pulling (and easier to restore too).
Click to expand...
Click to collapse
Because I would like to be able to access my files without having to restore them back to a phone.
But if I don't find better solution I will do that. It's better than nothing, right? Thanks for the suggestion.
I have this problem too right now, What was your fix?
The first part of the problem is windows 10 you have to enable long file name support for paths longer than 260 characters . https://www.howtogeek.com/266621/how-to-make-windows-10-accept-file-paths-over-260-characters/ The second part is we need to get Google or one of the XDA members to include a manifest file in the adb that tells windows it supports long file names then it may work otherwise do the adb pull in Linux.
idocinthebox said:
The first part of the problem is windows 10 you have to enable long file name support for paths longer than 260 characters . https://www.howtogeek.com/266621/how-to-make-windows-10-accept-file-paths-over-260-characters/ The second part is we need to get Google or one of the XDA members to include a manifest file in the adb that tells windows it supports long file names then it may work otherwise do the adb pull in Linux.
Click to expand...
Click to collapse
is there a fix yet bro ?
milos91 said:
Hello everyone,
I am trying to copy my entire sd card from my Nexus 4 to pc using adb pull /mnt/sdcard E:\Backups\nexus-4-sdcard-final\
It's going fine for a while, it's transfering all my files but after a while i get this error message:
Code:
cannot create 'E:\Backups\nexus-4-sdcard-final\Android\data\com.google.android.apps.docs.editors.slides\files\pinned_docs_files_do_not_edit\454c288823047ca656676a9effef1cb5\files\documents\1-MHOqmLRrNLLzh9TfmnCIzJBWxW-TNz3MrEHMsRWjkM\image\1nFkukIkRz4mJ6HfTZCaSv8gv94X-HBr8Rw5Uyy8Y': No such file or directory
I googled for a while and the only thing i found is this guy with similar error but he had folder on his phone with file name longer than 255 characters, it couldn't be created in windows and that's why adb was failing.
My question is:
Is there any flag for adb pull or way to skip files that can not be copied and keep copying?
Or if you can tell me how to avoid this error it's even better solution.
Thanks,
Milos
Click to expand...
Click to collapse
did u find any soutions bro

Categories

Resources