Hi, I'm trying to sync CM9 sources. I've set up my Ubuntu 11.10 from differents pages of xda, like the guide of Rom2Maru.
So, all libs are intalled, jdk6 is also installed ,etc. So, yesteray I started to start to sync, using the instructions of the PecanCM's github:
Code:
repo init -u git://github.com/PecanCM/android.git -b ics
repo sync -j16
And I don't know why but after 4 hours it stucks. I have tried 3 times and in the 3 times it stucks at the final. I've got a lot of memory left on my hard drive so I don't know why it stucks.
I have run a log and nothing special, here you have a Screenshot:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
In the first terminal, here is my sync stucked. In the second one, Here is the log. So, in the thirst I did a "repo sync", but it stucks too.
So, please, can anyone help me? I'm really interested in learn about android and can compile it.
Thanks a lot
hi, try this
from root of source
Code:
cd .repo
rm -rf manifest*
rm -rf repo
cd ..
mv .repo ../.repo
cd ..
rm -rf {name of source folder}
mkdir cm9
mv .repo cm9/.repo
cd cm9
repo init -u git://github.com/PecanCM/android.git -b ics
repo sync -f
hope this works for you
Thanks for your help, but it's stucked in:
Fetching projects: 100% (258/258), done.
I don't know what can I do. Do you have another idea?
And, Which version of ubuntu are you using? Are you using wubi? And what post do you use to set up your ubuntu (jdk, libs,etc)?
Thanks
Some time it happens with me too but i fix it by repo sync -f ! try only repo sync -f I hope it will work for you
Ok, I've done what you said, I restarted to sync again, and I have some news problems:
First, It stucks agains here:
Then, It said that I have to use repo sync -f --force-broken, so I did:
But It said that can't sync, and there isn't git in bootloader.
Any one can help me please? thanks
repo sync -f should work bro !
Related
I have Android 2.2 rooted Desire. Just removed some system apps using this guide
I think nothing serious or critical?
Code:
adb-windows shell mv /system/app/Stock.odex /sdcard/device_files
adb-windows shell mv /system/app/Facebook.apk /sdcard/device_files
adb-windows shell mv /system/app/teeter.apk /sdcard/device_files
adb-windows shell mv /system/app/teeter.odex /sdcard/device_files
adb-windows shell mv /system/app/HtcFacebook.apk /sdcard/device_files
adb-windows shell mv /system/app/HtcFacebook.odex /sdcard/device_files
adb-windows shell mv /system/app/HtcFootprints.apk /sdcard/device_files
adb-windows shell mv /system/app/HtcFootprints.odex /sdcard/device_files
adb-windows shell mv /system/app/HtcFootprintsWidget.apk /sdcard/device_files
but my phone doesn't boot now, it stucks on HTC logo.. What may be wrong and how to fix it? Maybe I shouldn't have to removed facebook app? Just by the stopid error i have moved those apps to non existent folder, so I can't restore them too..
Any ideas how to fix it would be appreciated.
or maybe I have to exit recovery or something? Because I just did the moving stuff.. then run the recovery-windows.bat (from rooting kit) again and just clicked restart on the phone. And it doesn't pass HTC logo now. :/
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
On the assumption that you can still move the files back to the device, why don't you just download a standard ROM (there are many available on the Android Development forum), then extract the apk's & odex's that you have deleted and just push them back and restart the device.
thanks, ill try to download my rom again and extract it with zip. I'm using this rom http://forum.xda-developers.com/showthread.php?t=741775
Facebook.apk Attached
I have extracted and attached the copy of Facebook.apk from my phone. This should get your phone running at the very least. After that you could just go with downloading one custom rom and extracting the rest of the files you need.
restored all apps back, but that didn't help
Downloaded http://forum.xda-developers.com/showthread.php?t=741775 copied apps content to device_files on SD card, then booted my phone into recovery
C:\Users\Originalas>cd C:\android-sdk\pushfiles
C:\android-sdk\pushfiles>adb-windows shell mount /system
adb server is out of date. killing...
* daemon started successfully *
C:\android-sdk\pushfiles>adb-windows shell mount /sdcard
C:\android-sdk\pushfiles>adb-windows shell mv /sdcard/device_files/* /system/app
C:\android-sdk\pushfiles>exit
Click to expand...
Click to collapse
still same HTC logo after reboot..
just flash a new rom, and in future remember that if your going to remove a .odex file you need to remove the corresponding .apk too
yep, had to flash, to get it working again. Though not a big deal, all settings and apps left the same without a wipe.
Could you tell me which RUU you used pleased, I am stuck on that screen, and have OTA 2.2. many thanks
[Q] Why cmd show # instead of $ after I typed "adb shell" then "su"
Hi, I am not good at command writing, but recently I would like to use "androidscreencast.jnlp" which I need to use cmd in desktop windows to configure for keyboard and mouse control over the android phone.
When I type adb shell, it doesn't show "$", it shows "[email protected]:/ #".
What does that mean??
I probably need the "$" sign to do the configuration...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Can anyone help??
Thank you very much!!
# is the symbol for you having root access.
Indeed.
Sent from my Galaxy Nexus using xda app-developers app
Op, use google
Sent from my i9250
Zepius said:
# is the symbol for you having root access.
Click to expand...
Click to collapse
Thanks Zepius,
but I have been trying the following codes in cmd for several times in order to allow using desktop keyboard and mouse to control my nexus through AndroidScreenCast.jnlp. It seems unsuccessful. It's supposed that the code is fine. Just wondering does that "[email protected]:/ #" the obstacle ...
{
su
chmod 777 /data/dalvik-cache
cd /data/dalvik-cache
exit
exit
}
francis1212 said:
Thanks Zepius,
but I have been trying the following codes in cmd for several times in order to allow using desktop keyboard and mouse to control my nexus through AndroidScreenCast.jnlp. It seems unsuccessful. It's supposed that the code is fine. Just wondering does that "[email protected]:/ #" the obstacle ...
{
su
chmod 777 /data/dalvik-cache
cd /data/dalvik-cache
exit
exit
}
Click to expand...
Click to collapse
Not sure what those commands have to do with getting a keyboard to work, but you certainly would no be able to execute them without the # prompt...
Sent from my Galaxy Nexus using Tapatalk 2
francis1212 said:
Thanks Zepius,
but I have been trying the following codes in cmd for several times in order to allow using desktop keyboard and mouse to control my nexus through AndroidScreenCast.jnlp. It seems unsuccessful. It's supposed that the code is fine. Just wondering does that "[email protected]:/ #" the obstacle ...
{
su
chmod 777 /data/dalvik-cache
cd /data/dalvik-cache
exit
exit
}
Click to expand...
Click to collapse
What does the cache have to do with the keyboard?
Beamed from my Maguro.
I am trying to get rid of this extremely buggy and heavy, Asus Zen software, on my ZE551ML, and replace it with something else, but I'm running into walls, everywhere I go. First, in ADB, I get
Code:
List of devices attached
F6AZFG14H361 unauthorized
I have tried clicking Revoke USB debugging authorizations, but that didn't help anything. I tried restarting ADB, didn't work. I know those are supposed to be the steps, but they aren't working, for me.
I am on ROM ww_2.20.40.174. Has anyone else had this problem?
Your device should prompt you to authorize the PC you're connecting with. You need to watch for it to pop up.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Kid_Ding said:
Your device should prompt you to authorize the PC you're connecting with. You need to watch for it to pop up.
Click to expand...
Click to collapse
It never gives me this popup. It "sees" the device, but never asks to add the fingerprint.
All of this assumes your Zenfone 2 is being recognized by the computer, running the command:
Code:
lsusb
Bus 003 Device 015: ID 0b05:5601 ASUSTek Computer, Inc.
If it is not, you have another problem. If it is being recognized, continue.
[SOLUTION BELOW]
Ubuntu 14:
Kill the ADB server.
Code:
adb kill-server
In the user's profile, look for a folder called .android. The folder may be hidden or owned by root. If the folder is owned by root, run these commands with the sudo prefix or sudo -s to promote to the root user.
Code:
ls -la
drwxr-x--- 2 root root 4096 Mar 21 10:24 [COLOR="Blue"].android[/COLOR]
Rename the folder to .android.old.
Code:
mv .android .android.old
Remove the USB debugging authorizations, on your phone, in developer options.
Restart the ADB server
Code:
adb start-server
If your usb is still plugged in, it should pop up the dialog to add the RSA fingerprint. Do so.
Check to see if the phone is recognized.
Code:
adb devices
List of devices attached
F6AZFG14H361 device
Thanks for the help.
help
excuse me, i am in the same situation, but my phone is stuck on recovery screen , i need a code to authorize it through adb only (( , any help???
I have no stats for Kernel Wakelocks in BetterBatteryStats. I've installed the latest version, installed the system app, but still get nothing. Everything else shows and works fine. Anyone else having this issue?
Yes, I face the same issue. Its a known issue and dev does not have cycles right now.
Cycles?
I think it also took a special fix for the LG g5 to show them...
Haldi4803 said:
Cycles?
Click to expand...
Click to collapse
lol...that's dev-speak for time for development work.
Ok, thanks for the heads up. It's not a huge deal, was just wondering if it was me, or something else.
I could be wrong but I get this.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Custom Rom? Custom Kernel?
Installed as System App?
This is the leedroid rom, but it worked on the US ruu one too. I don't think I installed it as system.
Sent from my HTC 10 using XDA-Developers mobile app
V2.2B6?
devsk said:
HTC init scripts are not mounting the debugfs. That's the reason for missing kernel wakelocks in HTC 10. Do the following from a root shell:
Code:
mntP=$(grep /sys/kernel/debug /proc/mounts | awk '{print $2}')
if [[ "${mntP}" != "/sys/kernel/debug" ]]
then
mount -t debugfs none /sys/kernel/debug
fi
Relaunch BBS and it should show the kernel wakelocks now.
Click to expand...
Click to collapse
Don't forget su, and you need to kill the App after the command
Haldi4803 said:
Don't forget su, and you need to kill the App after the command
Click to expand...
Click to collapse
Is this something that needs to be run on every boot, or once run it should stay? If it needs to be re-run on boot I suppose I'll just make Tasker run the script.
duowing said:
Is this something that needs to be run on every boot, or once run it should stay? If it needs to be re-run on boot I suppose I'll just make Tasker run the script.
Click to expand...
Click to collapse
This needs to be done every boot and as root.
Hello everyone!
I am quite a newbie to build the LineageOS, earlier this week I was trying to write my own device tree files, I had prepared most of the files needed and was managed to add my device to the lunch menu.
However when I was trying to building my twrp recovery image following peter9811's tutorial(link), the compilation was always failed with
Code:
[100% 140/140] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
FAILED: out/soong/build.ninja
out/soong/.bootstrap/bin/soong_build -t -l out/.module_paths/Android.bp.list -b out/soong -n out -d out/soong/build.ninja.d -globFile out/soong/.bootstrap/build-globs.ninja -o out/soong/build.ninja Android.bp
error: vendor/lineage/build/soong/Android.bp:30:8: module "generated_kernel_includes": cmd: unknown variable '$(PATH_OVERRIDE_SOONG)'
16:47:35 soong bootstrap failed with: exit status 1
1.I looked up the 'vendor/lineage/build/soong/Android.bp' and found $(PATH_OVERRIDE_SOONG) is defined somewhere else, possibly in my Android.mk.
2.I tried google the problem but got nothing except an unresolved post.
3.I tried to lunch aosp_arm-eng or aosp_arm64-eng and it gives the same error, however, lineage_arm64-userdebug works just fine.
As far as I know the aosp is switch from makefile to soong, my wild guess is this process makes some of those tutorials outdated, if that so, could somebody post some up-to-date instructions?
Could anyone please tell me what is going on there, which file should I modify to avoid this kind of problems.
Thanks for reading my post, and any possible solution will be much appreciated.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
hi man!
not sure if you still interested in solving this. This occurs because the config files inside vendor/lineage isn't being included in some build/*.mk files. This is weird because you're using LOS repo, so it should already have the commit where it does this inclusion. Repo sync might help you in there.
If it doesn't, take a look at this commit. It's a lineage-18.1 commit, but you should compare it and see what still needed on your side.
Did you find any solution to this? i am facing similar issue while building cafex and still cant find any solution. M from sources is up to date.
akshatpro said:
Did you find any solution to this? i am facing similar issue while building cafex and still cant find any solution. M from sources is up to date.
Click to expand...
Click to collapse
I had the same issue and solved it by using the breakfast command before building rom. No extra editing required.
Relevant XDA post/thread
Source
eatmyriceboi69420 said:
I had the same issue and solved it by using the breakfast command before building rom. No extra editing required.
Click to expand...
Click to collapse
Ohhh how I wish that fixed it for me. Lunch, bacon, refreshmod, clobber. Nothing works
Vinnom said:
If it doesn't, take a look at this commit. It's a lineage-18.1 commit, but you should compare it and see what still needed on your side.
Click to expand...
Click to collapse
Thank you sir! These look exactly like the droids I have been looking for!
EDIT: soooo that just created new errors (vendor/lineage/build/soong/soong_config.mk doesn't exist)
Had a brain spark, deleted the entire local/working folder. (not .repo of course).
Then a simple repo sync -l and now I'm at least building.
Fingers crossed