[Q] Building CM from source is failing - Android Q&A, Help & Troubleshooting

Okay, so I'm trying to build CM from source for the Galaxy S4 i9505 using the official guide here. I am doing this inside a newly set up Ubuntu 12.04 64 bit virtual machine.
Everything seems to be working fine until I actually run the build. I sit there and let it do its thing but eventually after around 40 minutes "make" gives me an error saying one of the .dex files is killed, then I'm returned to my prompt. I look in the $OUT directory (~/android/system/out/target/product/jfltexx) and some images are there, but no actual .zip for the built system.
It seems like something is going wrong before the build can complete and the computer just gives up, but I have no idea why.
Here is a screenshot which should hopefully provide more information:
{
"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"
}
Thanks in advance if anyone can help me out

Related

[Q] Using Bochs or QEMU

Has anyone tried to use QEMU or BOCHS with GP5? I haven't seen anything saying it will specifically work with Galaxy devices but I just wondered if maybe someone has gotten it working. I don't fully understand the Android OS yet so I wasn't sure about trying it myself.
Yeah, I got Boochs working!
And I have got it to work with Redhat, and windows 95.
however both are a bit hard to control, and have no internet support:
Boochs:
http://forum.xda-developers.com/showthread.php?p=21293078
{
"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"
}
redhat image:
http://superb-sea2.dl.sourceforge.net/project/bochs/Disk Images/RedHat Linux/redhat_6-512mb.zip
If you want to use the redhat image rename it to c.img and put it in the sdl folder
username:root Password: redhat
Boochs install instructions on the download page.
Sorry to bother you further but after it boots and I put in the username and password, it just starts as a command line tool or something and anything I try it just says isn't a proper command. Is a ui supposed to boot?

[Q]Help with my first CM port.

Hello. We have a working CM11 port (tegra 4i, A.k.a Wiko Wax), and so I thought I could port CM12 with it. I compiled cm12 successfully as you can see on this 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"
}
Then I flashed it on my device (using TWRP 2.8.1.0), and nothing. It never boots up, it doesn't go further the boot logo(it stays there for a couple of minutes then the device restarts itself), it doesn't even start the bootanimation, so I can't even take a logcat.
If anyone can help I can provide mor logs.
Furthermore the system folder seems to be intact, it contains everything my device needs to boot up, yet it doesn't ....
Can you give us a Logcat of the boot ? Is there any kernel panic (/proc/last_kmsg) or tombstones (/data/tombstones) ?

Nexus 7 Wont Boot

I have a 2012 Nexus 7 and it has a really weird problem, when it boots it goes to this screen and won't do anything if I click start. If I go to recovery mode, it says Booting Failed in the top left, it seems that android is removed, but I'm not sure. Sorry for bad picture quality
{
"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"
}
Looks like you will need to try and restore by flashing the original factory img files.
Guide: http://forum.xda-developers.com/showthread.php?t=1907796 (hint, skip all of the SDK stuff for adb and fastboot and just use this - http://forum.xda-developers.com/showthread.php?t=2317790) . Also, make sure to grab the same update or newer, for best results.
I prefer doing things manually as it is good to learn how things work, but if that is just above your expertise, you can also check this out: http://forum.xda-developers.com/showthread.php?t=1907796
Good luck.

Help with memu data corrupted.

Need help with MEMU Emulator, the VMK files got corrupted, and It seems, that the Hypervm Memu software cannot run, because of memuRT.dll missing, what can i do? i tried to follow their advises in their support-faq, but seems like my HyperVM folder is missing some important files, help plz :/
My mom used to play a lot the ISLAND, for 2 years straight she was like finishing the game, and I wanted to recovery her data, to re-incorporated back to the memu app, so she can play again.
The error i'm getting is that the Memu app 5.2.5 got stuck on 59% throwing this error:
Memu manage.exe error could not find a registered machine named "memu"
Then i went to support:
And followed their instructions, and i cannot run the HyperVM Memu, because of missing files x.x
https://www.memuplay.com/blog/2016/02/23/how-to-recover-memu-vm/
{
"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"
}

Repo Tools Stuck on - Fetching: 96% (1103/1139) platform/tools/test/openhst

Hello Everyone,
I'm trying to build lineageos using WSl2.
I followed the instructions on the official lineageos website.
Though, When i use repo sync, it keeps stopping at 96%, And gets stuck there.
Things I've Tried:
1)Removing the Windows scaling limit in TCP
2) deleting the openhst.git from the folders
{
"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"
}
I would welcome any help to solve this issue.
EDIT: I Redid Everything, got to 98%
it's stuck again now, at:
Fetching: 98% (1127/1139) LineageOS/android_vendor_qcom_opensource_wfd-commonsys
help, anyone?
again i tried removing the folder to download it again
i used the command:
sudo repo sync -j8 -c
Running Ubuntu on windows 10
FYI : Fixed

Categories

Resources