[Q] Compiling CM on a Mac - Droid Incredible Q&A, Help & Troubleshooting

Okay, so recently I got a wild hair to try compiling CM on my MBP, and proceeded to pull and install all of the various items described by the CM wiki here:
http://wiki.cyanogen...dible_(Mac)
I realize that it says the wiki hasn't been tested, and that it's for CM6 and OSX 10.6.5, but I figured / hoped that not too much had changed... which is apparently wrong. So here's what happens: I've got everything installed correctly as far as I can tell- Java for Mac update 4 (most current), the most current MacPorts (1.9.2), I've built a little disc image workspace (15gb, as suggested by the wiki). I've pulled down the repo, ADB'd the proprietary files from the Inc, etc. etc., all with success (i.e. no error messages and it looks clean).
Everything LOOKS okay, right? I should be able to just build this puppy and keep it movin', right? Wrong.
I follow all of the wiki instructions *exactly*, the build runs for about 20+ minutes, gives me an assertion error, and then returns me to command line (no .zip file created). No other errors anywhere that I can see- lots and lots of warnings (is that normal?) but no ERRORs. So, I figure maybe I'll try these boards and see if someone with more experience in this area has any suggestions. I briefly consulted Slayher about it and he was saying that he remembers something about Macs and "elf.h" not playing nice with Linux kernels... but things I've found by Googling say that those issues SHOULD be corrected by the most recent MacPorts.
So, again, I've followed the wiki instructions to a "T"... Twice, if you can believe that- I thought maybe I'd done something wrong the first time so I trashed my workspace and started over from scratch. Same result, the compile runs, looks the same, and then there's no "finishing message" or .zip in the /inc folder. Anyway, here is a link to the pastebin of the compile, if anyone wanted to take a look. Directly after the last line that is posted to this pastebin, it returned me to command line- I just didn't post my command line for privacy's sake. If you look at this link, line 2496 (and those above and below it) look to be of particular interest, but what do I know...
http://pastebin.com/CFRyh8ue
Anyone have any thoughts on compiling CM7 with a Mac running 10.6.6/7? Any help would be much appreciated. I'm working on getting access to an Ubuntu laptop, but again I'd really like to be able to do this on my MBP if I can.
Thanks for reading.
-x-
**EDIT: I've tried looking for help on this, including (as I mentioned) some pretty learned people (Slayher, CUViper, etc.) but I don't want to continually bug them... and my google / XDA searches haven't come up with anything so far. Again, any help would be appreciated... there's gotta be someone out there compiling CM7 on a Mac, right? Maybe?

Related

Trouble with my Asus MyPal A626

Hello!
I recently bricked my MyPal A626. In the last weeks I tried several things but until now I weren't able to figure out how to fix this thing.
I know that you can flash the ROM via the USBLoader.exe over USB. But I need a .nb0 file for this.
Perhaps there is someone in this board who can help me out with this file?
You should be able to dump the rom with the itsutils over RAPI.
http://wiki.xda-developers.com/index.php?pagename=XdaUtils
It should be something like this:
1) pdocread -t
2) pdocread -l
3) pdocread 0x0 xxxxxx nk.nb0
One of the first commands gives you the length of the ROM.
I can't test it by myself because my device is bricked.
Perhaps it would be enough if somebody with an A626 can execute the first and second commands and post the output here.
It would be very great if somebody can help me!
BTW:
I have got a Backup... But the bootloader doesn't want this. It reads everything from USB but it isn't flashed. And I have absolutely no idea why.
I can upload this file to rapidshare if somebody wants to look at it.
I really hate to ressurect an old thread, but I am having the exact same problem. ASUS tech support has been rather less than helpful. They won't provide a NB0 file to end users, nor any fix tools that would work with the encrypted image or anything like that either. They told me I have to RMA the thing after passing me back and forth and giving me the runaround for about an hour or more even. Only, I STILL haven't gotten a response from the RMA department even... The person I tried to do this update for REALLY needs her PDA back already and I find this whole situation to be quite unacceptable. I only had to attempt to use the update in the first place because they made a screweup that makes the SD card inaccessable without reinserting after pressing the power button... A pretty big screwup IMO considering that good PDA practices really requires one to run as much as possible from the SD card for the sake of wasting less resources in a device that already has all too few resources to begin with... (Then again, MS still hasn't caught on to the fact that minimizing rather than closing programs on a device that has so little memory is rather less than ideal, so I guess there's nothing new in that area.) The funniest thing of all is that I wasn't trying to modify it or anything like that, I just did the update right by the manual needing only to get the SD card fix and it STILL went wrong (especially I find it annoying that the update process did a checksum on the update.img file and reported that the file was actually correct, then it fails AFTER completely flashing and doesn't bother to make any kind of recovery.
If anyone could help me out with a NB0 for this thing, I'd REALLY appreciate it. I just want to get it up and running again so she can use her PDA for getting organized as she has been desperately needing for so long.
BTW, should the OP ever read this, I have noticed that if you send the right things, it WILL try to flash. I once sent the update.dat file in the hopes that it might include information needed to make the flash work (it was my hope that the process was a little smart and that it would, therefore, use the DAT file for information on the flash and then include the needed image.) The device actually did make a flash with this file. Of course, the flash obviously didn't work, but the point is that it can do a flash through this method if you send what it's looking for.
GOOGLE this A696_dump_wm5_eng.rar
No good. All two links Google finds are dead (I see two different posts in two different forums, but actually each link to the same links and these are both dead.) I did see a reference to a "A696_dump_wm6_2_eng.rar" but it too is dead. (One of those two forums was this one, I see, surprisingly enough considering that the first thing I did was run a search as is evidenced by finding an old thread -- but then I must admit that I was searching for A626, not A696...) The next closest I can find through this search is a Russian dump for an A636N. I don't have an A636N and I can't read a word of Russian. That link is still alive, but I'm not even going to try it since even if it were actually compatible with the A626 (and I'm betting it's not) it still would be as good as a brick to me still.
But anyway, is the A696 ROM actually directly compatible with an A626 system?
EDIT: I stand corrected! The link for the 6.2 update on the A696 isn't dead after all. When I tried last night it would just spend a REALLY long time trying to load and eventually either time out or produce a database error. When I tried today though, it did sucessfully download. Looks like it does work. Thank goodness because the PDA's owner really needs a working PDA, and ASUS seems rather less than helpful...
Nazo said:
But anyway, is the A696 ROM actually directly compatible with an A626 system?
EDIT: I stand corrected! The link for the 6.2 update on the A696 isn't dead after all. When I tried last night it would just spend a REALLY long time trying to load and eventually either time out or produce a database error. When I tried today though, it did sucessfully download. Looks like it does work. Thank goodness because the PDA's owner really needs a working PDA, and ASUS seems rather less than helpful...
Click to expand...
Click to collapse
626,686,696 are same series.. aka. asus 6x6 or the cannes. if you go to asus website. there is a single rom for these 3 models.
what's the 6.2 update you are talking about ? anyway.. let me know if you still want the 6x6 wm5 dump file. I can upload it to somewhere..
Well, I went ahead and flashed despite worrying about model compatibility. I figured they were the same basic hardware, but I figured that it was always possible that there could be important differences such as memory latencies or such that could make it incompatible perhaps even to the point of danger. But, it's just the software end of things more than anything else, so I figured that it couldn't brick the PDA any worse than it was already bricked and went ahead. As you say though, I have noticed that you are correct that they do use the same ROM for all three models on the official site anyway, so it works 100%.
As for the 6.2, it's in the link I provided to a topic here on this forum. The only other result you'll find on google is just a site in Russian or whatever where they repeat the exact same links for each of the files so you might just as well use this one. It's hosted on MediaFire which was really screwed up when I posted that it was a dead link, but it seems to have recovered and I was able to download that updated ROM from there. I think that you may have to look on the previous page from the link I gave though.
I must say though, I'm glad to have found that one. I HAD to do the update. You see, it was more than just an update to WM6.2. It also included a lot of bugfixes. The most notable being that the system would no longer recognize the SD card after a suspend for a while (or several suspends -- I never was sure just which was the culprit.) Resetting or ejecting and reinserting fixes it, but she was having troubles with this because she isn't exactly the most technosavvy person I have ever known. The SD card dissapearing bug was a fatal flaw because she must load up things such as books and such via SD card and all of it together adds up to well over what can fit safely in internal memory and the file storage combined (but which easily fit an a 2GB SD card) and I needed that update, so if I had to get the WM5 ROM again I'd have to just update again and again as many times as it took to get past the bricking. This way I needed only load up the ROM once and that was it. ASUS really needs to create a tool that can load the encrypted ROM from a PC like HP has done (I've bricked my h1945 PDA while attempting to update it once before and was able to fix it quite easily just as soon as I figured out how to get into the so called "parrot mode.") and such so we don't have to resort to such means to fix them...
Anyway, now I need to get started on loading up all of the stuff she needs.
I just bricked my A363N - WM5.0->6.0 upgrade failed (SD card read error).
Now I'm trying to make it work again.
Russian WM5.0 doesn't work - stops on the calendar screen.
I wonder if I can try to upload update.dat file from the Asus wwe.rar
with SD card inserted and containing Update.img.
Is the update.dat file in .nb0 format ?
Is the A636 actually the same series? If not that post belongs in an appropriate thread instead. If it is, why are you trying to use the Russian update? Just use the plain English one. Here, it's in this post on this site: http://forum.xda-developers.com/showpost.php?p=1495484&postcount=126 I checked and the link is still alive right now.
Yeah, very cool.
I remembered this post 10 minutes ago.
I will try the 696 firmware... Lets see if we can get this ****ing machine running the moon
Meanwhile i tried several things with the update.img file. The "Encryption" is a simple xoring with 0xd0 ^^
But even if you xor the whole file with this value you still don't have a valid nb0. I tried it many times to cut out the firmware with an hex editor on the obvious places in the file (go and see yourself if interested) but all this didn't work.
edit:
It doesn't seem to work for me... The file gets flashed and the device reboots.
After that it still gets stuck at the blue asus screen but it is recognized by the computer as a RNDIS device.
another edit:
WOAH... I tried it again and now it works.
It seems that the battery was empty because of all the previous tries.
Unsuccesfull rom flash
Hello,
I bricked my 696 asus, trying to do un update from the asus site.
Can you tell me some methods to repair it, using the sd card, because the method with usbloader.exe and nk.nb0 is not working ("USB pipe opening error", I tried on several computer and many usb ports).
Also, how can I transform the nk.nb0 flashing image into a *.dio image (I understand the last one can be used to boot and repair automatically from the SD card, it is real???).
10x a lot
Still not working
any new idea to reflash rom foa a696 ?
Hello to you
any news about how to make rom upgrade foa asus a696 ?

Need help with hp 4700 Upgrade tools and know-how...

Hi, Need some help here....tired of the same whole mix-mash from htc (recycled phones) so going back to basics - htc s620 (wm6) + my just acquired used 4700. Intend to upgrade it to WM6.1, I've been using htc phones so I am used to rom flashing... or so i thought. I downloaded some of the wm6 and 6.1 roms only to find that dont come with an ruu built in. Not a problem I thought,just get a carrier and replace the nbf file. Unfortunately despite an extensive search on brighthand and here and yahoo searches galore i havent been able to find a suitable guide with the necessary utilities to carry out the flash. The "universal bootLoader" no longer seems to be around (404 errors) samething with other Ruu's (from ru websites etc) yet I can still see thru the long 220 - 251 pg threads that people are flashing with something. In the interest of new 4700 owners would it be possible to have a particular "How-to-flash" thread possibly as a sticky? If not at least can someone help me with a how-to guide and any link to the relevant ruu or bootLoader utility for the rom flash.
Thanx all appreciate it.
You can find all the neccessary information on this page; different ROM's, a bootloader, and instructions in PDF format..
Thanks a lot ridolfo. that has helped a great deal. Slight problem that you hopefully know a way around. After downloading the BootLoader.exe rar file, I tried to open it to proceed but it kept on coming up with an error... "windows cannot open the selected path file...you may not have the appropriate permissions to open them" I just cant get past that altough it has apparently opened and expanded showing a whole lot of other files but i cannot basically get past that stage to run the rom nbf file... Any ideas please?
Right sorted!
Very simple but unexpected solution especially since i hadn't seen the issue mentioned elsewhere.
Simply disconnected all connections to the internet especially wifi (for safety/protection etc) and then disabled zone alarm!
Everything went thru as normal,updated and now just waiting for boot-up.
thanx a lot Ridolfo!!!

noob trying to use mfcuk and mfoc

i have done some research into cracking mifare cards, and i am new to this.
i use ubuntu 14.04lts
i have purchased an acr-122u reader.
i would like to use it to try to crack a mifare classic card however information on this is either in another language or non-existent. i have archlinux on a disk if necessary, however would someone be able to explain how to run mfcuk on ubuntu 14.04lts? also does anyone know if their is a gui frontend in development for mfcuk? i believe i will need to run a dark side attack to obtain one of the keys, then use that key and a mfoc attack to find the rest of the keys. how would i install mfcuk and the necessary libnfc libraries and so forth and how would i run them? i apologize if their is already a thread for something similar to this, how ever i would like to be specific. i greatly appreciate any help that could be provided. (including links to web pages / threads related to this) thank you very much.
- csltr
anyone
anyone? anyone have anything? something to work with? ive been searching forever, only to find no information. i found a DEB of rfid-tools and nfclib and the driver to my acr122u, just cant figure out how to use it. it hangs after i put in mfcuk -C -R 0 which i believe i am supposed to do. not really sure. i just saw a forum where someone else put that command in. i tried it with a blank card and it said "recover keys 0" or something then did nothing. i hit enter and nothing happened. but i couldnt execute commands so i think, terminal thought it was doing something, especially since when i tried to x it out it said a process was running, and when i took the card off the nfc reader it gave me some codes then stopped. i tried it with a card that has keys however and it gave me some kinda error. anyone? anyone at all?

MM with XSharedPreferences not working

I want my xposed hook class to read the package's Shared Preferences so it it only hooks the methods that are enabled by the user. The problem is that every time I try to read the SharedPrefs via XSharedPreference Class, It fails to read it but only on marshmallow. Im assuming it's because of permission/SELinux. Other things I check is that the path to the shared preferences is fine (because it works fine with KitKat), I made all places where I write to it "WORLD_READABLE" and still doesn't work. I tried looking at other dev's module that have MM support but can't find anything significant in terms of reading the sharedprefs that I dont have. I have been trying for ages and believe Im overthinking it. I also tried putting the reading code in initZygote and handleLoadPackage and both fail as well
Could someone please help or provide guidance. Thanks.
Source Code: https://github.com/pbombnz/ANZGoMoneyNZMods/blob/master/app/src/main/java/nz/pbomb/xposed/anzmods/SuperKiwiHooker.java
EDIT: Possible Workaround found. Will leave here for others going through same issue... https://github.com/rovo89/XposedBridge/issues/74

Warning! Do not let anyone remotely do your phone!!

Had to edit this since my device is having issues parsing.
THIS IS MAINLY FOR VERIZON GOOGLE PIXEL XL!
As most of you know, there is a way to unlock the Verizon Google Pixel XL. Unfortunately, its done remotely by one person. I vouched for him,but, regret doing that as I may have been done wrong by him. My computer has been doing some strange things lately, uninstalling things by itself, manipulated files, programs I had installed on my computer no longer working as they were meaning that now its asking for payments to a certain email if I want it to work again. That is very odd because prior to allowing remote access, all apps and files were as normal, functioning properly. After a few attempts with questions, I got no response. I assume that he is the culprit. If you allow access do it on a dummy install of Windows or Mac. You can download a copy of Windows from Microsoft and install on a separate HDD. Do not get into a mess like i have. Please, this is for your safety. I'm not knocking everyone who does work remotely, just be careful when allowing access to your computer.
I noticed the last time I allowed this individual to do work on my phone via remote access, it was a long time,hours even, and sometimes he would block visuals of his mouse and things would begin to install, sometimes there was no movements but he was accessing everything on my computer. I used to hack things so I know how certain things are done. Once again, please be careful people.
Thanks for allowing me to say this.
epikroms said:
Okay I'm trying to build from lineage os.
Current set up: Ubuntu 14.04-64bit
8gb ram i3.... Plenty of storage space.
Okay my problem. I've been repo'ing this thing for hours.
I don't get it, they say 10gb of repo, hmmmmm I've repo'd around 35-40gb???? I erased it did a command:,
repo sync --force-sync -j8 -c
Tried from -j8 was a lot faster,but, whatever. Ok so, why is this thing building from something like 2 or 3.0 Android? What is the proper commands? Someone please help because I've followed a lot of tutorials and guides from LineageOS wikis to XDA how-to's and obviously for me nothing is going correctly. I've read the instructions over and over and over and over again and I'm doing exactly what it says but still nothing??????? This is a bit insane to be wasting a whole night and half of the day staring at a computer screen and watching tons of things being put in my repo that I absolutely have no need for. Please help. Kindly appreciated
Click to expand...
Click to collapse
The full repo you need to sync before you can start building is a lot bigger than 10GB. In my local 8.1 repo, the full size repo is about 148GB, with 84GB generated by the build itself ("out" folder). So about 64GB in download, the rest generated locally by the build system later on.
I'm happy to help answer any questions you have on building AOSP, once you have synced the repo and are running your first build.
jisoo said:
The full repo you need to sync before you can start building is a lot bigger than 10GB. In my local 8.1 repo, the full size repo is about 148GB, with 84GB generated by the build itself ("out" folder). So about 64GB in download, the rest generated locally by the build system later on.
I'm happy to help answer any questions you have on building AOSP, once you have synced the repo and are running your first build.
Click to expand...
Click to collapse
Thanks. Yeah I've gotten past the repo sync, I think mine was nearly 60gb?? Everything was going good until I got clone Android/devices/Google/Marlin -b..... Then right here I did this on the ending of the above. lineage-15.1 /devices/Google/Marlin so after putting in this last line I get errors command not found or there is nothing??? I erased all the repos and I'm starting again from nothing with that last line where it says lineage-15.1 I have tried the full lineageOS-15.1same error, tried cm-15.1, also the same what am I doing wrong?
Sorry but this is becoming way more trouble than expected. Irritation after irritation. Doesn't look like I'll be building anymore. Too time consuming and getting absolutely nowhere. I give you DEVS way more credit than before after tinkering with source. I honestly don't know how you guys can do it. I'm done
repo sync -j$( nproc --all ) --force-sync -c --no-clone-bundle --no-tags --optimized-fetch --prune. Try that
joeeboogz said:
repo sync -j$( nproc --all ) --force-sync -c --no-clone-bundle --no-tags --optimized-fetch --prune. Try that
Click to expand...
Click to collapse
Thanks man I'll give it a go when I have a chance. My problem that I was having was with the second part of the build. I can get the repo done,but, after that I'm lost?? I went to the Muppets and copied a raw file and pasted it in a text.then I go to kernel but it won't sync???? I tried a build with breakfast Marlin but get errors. I don't remember downloading or placing the roomservice.xml file. Where do I get that? Or do I have to dd extract my phone's image backup to get that? I am so lost already
epikroms said:
Thanks man I'll give it a go when I have a chance. My problem that I was having was with the second part of the build. I can get the repo done,but, after that I'm lost?? I went to the Muppets and copied a raw file and pasted it in a text.then I go to kernel but it won't sync???? I tried a build with breakfast Marlin but get errors. I don't remember downloading or placing the roomservice.xml file. Where do I get that? Or do I have to dd extract my phone's image backup to get that? I am so lost already
Click to expand...
Click to collapse
Hit me on Hangouts [email protected]
joeeboogz said:
Hit me on Hangouts [email protected]
Click to expand...
Click to collapse
Not to sure if I got it sent cause I don't ever use Hangouts but if you didn't get it mine is [email protected]

Categories

Resources