Newbie: trying to build from source - myTouch 3G, Magic Android Development

Hey folks at XDA, how goes it?
I have been lurking a good while, made a post or two, but now I do need some BIG help and was hoping I could find it here. I scoped and searched threads and sections but couldn't find much (if you found it thank you for sharing).
So this past weekend I have been trying to build from source, I am on Ubuntu 8.10 got SDK, Git and Repo up. Pulling from Cyanogen's github, following the tutorials (http://github.com/cyanogen/android/blob/donut/README and http://source.android.com/documentation/building-for-dream), but I get an error when trying to run the unzip-files.sh script (currently lol):
I put the zip into vendors/htc/sapphire-open and then run:
Code:
sudo ./unzipfiles.sh
This is the error I get http://pastebin.com/f1d7a7c51, I will sum it up though:
I permissions errors, and 'not a directory' errors all pertaining to the zip file.
So any tips would be greatly appreciated.
Thanks,
2D
SHOUTS TO #CYANOGENMOD IRC <-----------y'all are awesome!
Up's to rikupw, Stericson, m0zes, PsychoI3oy and prash, y'all are always there to help me, also to all the dwellers on that channel!

As you were, follow this documentation: http://source.android.com/documentation/building-for-dream
Get signed-google_ion-ota-14721.zip from here: http://developer.htc.com/google-io-device.html, and place it in the android root directory and then run the script.

Thank you so much dude that worked perfectly!
I am now going to try to compile the kernel, and if I get some more errors I will ask again thank you again BTW!

Well, I finally got my system.img up everything I needed to flash it, after changing my SPL, the flash worked, but now it won't boot.
first it said busybox was not in /system/xbin/busybox; so I pushed it in, rebooted and then it said: "I/logwrapper( 46): /system/xbin/busybox terminated by exit(0)"
I tried to chmod a+x and 0755 but it did not work, anyone got an idea or a linky?
Thanks again!

I have the same error...
If anybody knows how to fix this, please let me know... It feels like I'm missing something but I can't figure out what...

Related

Got Gapps working on 2.0, but I need some guidance from experienced devs..

I've been trying to get a build going from aosp-master for the past week and I think I've finally cracked it.. As far as I can tell I've got all the google apps working, everything syncs up properly including contacts.. but I need some help setting up what have become the standard features of a custom rom. I asked some of this in Q&A the other day but I don't think any devs go in there any more, and I don't blame you. These questions probably belong here anyway..
1) Whats the proper process for rooting a self-built rom? I managed to hack something together by changing the permissions on sh and su, but it won't work on my current build and it probably opened up security holes everywhere. How do you lot do it?
2) What's the correct way to set up a2sd? I've put cyanogen's script in my init script (launched as a one shot service from init.rc) but I'm not sure if it's working properly, or if that's the accepted way of doing things.
3) Where should I set up the links for busybox, in my init script or somewhere else? It doesn't seem to be working from there..
4) The initial boot of my current build is a bit messy.. I get a selection box asking me to choose from 2 setup apps (google or the default), but I don't know how to remove the default one. I'm not using the SdkSetup package or anything..
Any help would be very much appreciated.
1) Make sure adb runs as root (init.rc), and add the modified su binary and Superuser.apk's from one of the other builds.
2) Usually, A2SD scripts are launched as one-shot services via init.rc.
3) Not in the init script... Not sure where, exactly, as the shell doesn't bother to read any "on-launch" scripts
4) To remove that, i'm pretty sure you have remove one of them completely, by deleting the APK.
Hope that helps...
Oh, and POST IT NAUW!
I didn't think there were any eclair video drivers available yet for the G1?
goldenarmZ said:
I've been trying to get a build going from aosp-master for the past week and I think I've finally cracked it.. As far as I can tell I've got all the google apps working, everything syncs up properly including contacts.. but I need some help setting up what have become the standard features of a custom rom. I asked some of this in Q&A the other day but I don't think any devs go in there any more, and I don't blame you. These questions probably belong here anyway..
1) Whats the proper process for rooting a self-built rom? I managed to hack something together by changing the permissions on sh and su, but it won't work on my current build and it probably opened up security holes everywhere. How do you lot do it?
2) What's the correct way to set up a2sd? I've put cyanogen's script in my init script (launched as a one shot service from init.rc) but I'm not sure if it's working properly, or if that's the accepted way of doing things.
3) Where should I set up the links for busybox, in my init script or somewhere else? It doesn't seem to be working from there..
4) The initial boot of my current build is a bit messy.. I get a selection box asking me to choose from 2 setup apps (google or the default), but I don't know how to remove the default one. I'm not using the SdkSetup package or anything..
Any help would be very much appreciated.
Click to expand...
Click to collapse
If you still need help, hit me up somewhere other than here where we can have more than a post-to-post convo. I can help ya sort it out.
bkmo said:
I didn't think there were any eclair video drivers available yet for the G1?
Click to expand...
Click to collapse
There aren't. That just means no HW acceleration. I think barak got them working though.
Got them working too, tried the one from the Milestone GSM dump and it worked.
But they won't sync, they won't find the server, any idea?
Got them working too, tried the one from the Milestone GSM dump and it worked.
But they won't sync, they won't find the server, any idea?
I got Calendar working on Twisted's mod of the x3 rom. I pulled and pushed a whole bunch of apk's dealing with Google and Google Service Providers, but I didn't note which wound up working. Couldn't get any of the other GApps working though and I continually get gapps and acore FCs. I'll poke around and see if I can remember how I got Calendar up and working so I can actually contribute to this conversation next time
I can't get the su binary to work.. i just get permission denied, it doesn't even try to call the superuser app.
My sync is definitely working, but it seems slow.. It just took me 5 minutes to get an email on the device.. I'm not sure what's happening there, I'll look into it tomorrow.. at which point I'll also try to remember how I got the damn thing working in the first place so I can maybe help others out.
Right now I'm so tired my eyes are bleeding... I think I'll go to bed.
goldenarmZ said:
I can't get the su binary to work.. i just get permission denied, it doesn't even try to call the superuser app.
My sync is definitely working, but it seems slow.. It just took me 5 minutes to get an email on the device.. I'm not sure what's happening there, I'll look into it tomorrow.. at which point I'll also try to remember how I got the damn thing working in the first place so I can maybe help others out.
Right now I'm so tired my eyes are bleeding... I think I'll go to bed.
Click to expand...
Click to collapse
adb remount
adb shell
cd /system/bin
cat sh > su
chmod 04755 su
Should work now.
Hey, SUID'd sh is cheat! It's not real su!
Joushou said:
Hey, SUID'd sh is cheat! It's not real su!
Click to expand...
Click to collapse
Its a step forward
if you don't mind my asking, how did you get the google apps to sync up?

[GUIDE] How to set up a basic Android Dev Environment

Since I have gotten several requests to show people how to set up a dev environment, I thought I would write up a how to guide and just post it in a thread.I have had to set up a new dev environment a few times now, and each time I've had to look the information up piece by piece. All of the guides that I have found are out of date or don't work for what I want to accomplish, which is build a basic environment that I can decompress nandroid backup images in, build kernels, compile images, and just be ready for anything that is thrown my way that needs a Linux based setup to look at or test.
And just because I probably need to put this in here,
********I AM NOT RESPONSIBLE FOR ANY HARM THAT MAY COME TO YOUR COMPUTER, PHONE, OR ANYTHING ELSE THAT YOU MAY USE WHILE READING OR TRYING TO IMPLEMENT ANY OR ALL PARTS OF THIS GUIDE.*********
Guide Tips:
Read everything first. Then go to the websites listed and read it again. This will give you somewhat of an understanding of what you are going to be doing. This is what I use and it works for what I do. I do not use Eclipse, therefore I did not include it in this guide. While reading this guide, Linux and Ubuntu are one in the same so don’t get confused by terminology. Ubuntu is just a flavor of Linux. You may prefer a different flavor and that is fine. While working in Terminal, if I put something in italics, don’t type that part. Italics are meant as an extra bit of info. If the text went to a new line and there is a space before the next line starts, hit enter. If the text went to a new line and there is no space, it’s the same line of code.
Downloads:
Download Ubuntu 10.10 32-bit desktop edition from: http://www.ubuntu.com/desktop/get-ubuntu/download
Download and install VirtualBox from: http://www.virtualbox.org/wiki/Downloads
Install Ubuntu 10.10 on the VirtualBox like this: http://www.psychocats.net/ubuntu/virtualbox
VirtualBox Tips:
Use a 50GB (or bigger) Hard Drive size if you can afford the space.
Pick an easy password and log on automatically. This will make things easier later.
When you get set up, go to System, Settings, Screensaver, and uncheck Activate screensaver when computer is idle, and Lock screen when screensaver is active. It is not necessary on a VirtualBox anyway and will just become an annoyance.
I recommend downloading and installing the VirtualBox Guest Additions for Linux by clicking Devices, Install Guest Additions. This will make things easier if you need to resize your Linux desktop window, or cut and paste text from Windows to Linux.
If you need to move files easily from Windows to Linux, put them on a USB drive in Windows. Then in on the VirtualBox, click Devices, select USB Devices, find the USB drive that you are using and select it. The drive will then be accessible in Linux. To move something back to Windows, just uncheck the drive in the same manner. There is a common share folder you can set up, but I find it more of a hassle than just using a USB drive.
Inside Ubuntu:
Download and save the Android SDK for linux from: http://developer.android.com/sdk/index.html
Download and save unyaffs from: http://code.google.com/p/unyaffs/downloads/list
Go to Applications, Accessories, and Select Terminal
In Terminal type:
Go to Applications, Accessories, and Select Terminal
In Terminal type:
sudo passwd (it will ask you for a new password, just enter the password you used in setup)
(retype the same password)
mkdir ~/android
cd Downloads
sudo mv unyaffs /bin
tar –zxvf android-sdk_r08-linux_86.tgz
mv android-sdk-linux_86 ~/android
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
sudo apt-get update
sudo apt-get install sun-java6-jdk
sudo apt-get install git-core gnupg flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev
mkdir ~/bin
curl http://android.git.kernel.org/repo > ~/bin/repo
chmod a+x ~/bin/repo
cd ~/bin
sudo mv repo /bin
cd /bin
chmod 777 unyaffs
cd ~/android/android-sdk-linux_86/tools
. android (notice the period and space before “android”, this is a "run" command, the Android SDK and AVD Manager will open)
Select as many or as few packages from the available packages as you want. You need to have Android SDK Tools, revision 8, which should already be installed, and Android SDK Platform-tools, revision 1 at a minimum. Press Install Selected when you are ready. When finished, close the Manager.
Closing Notes:
At this point you will have the tools to decompress a nandroid backup image and work with those files to create a basic ROM, download repos, download source code from github, and be able to do other things that are used to develop for Android phones. This is by no means all inclusive. It is just a basic setup to get you ready to do some of the things possible. If people find this useful, I may write other guides to explain how to do other things, so give me feedback.
I was going to ask you if you could do a step by step. I jade downloaded all the stuff was having a few issues getting going.
THANKS.
Sent from my SCH-I500 using XDA App
All systems go.. LOL awaiting further instructions.
and again .. Thanks..
Wow, this is great....i will be setting this up as soon as i have a couple of hours to spare.
Thx
Sent from my SCH-I500 using Tapatalk
Some extra info..
Some other nice sites to mention if you're truley interested in getting into building your own ROMs and not just porting (but certainly porting as well) might be:
Samsung Open Source Release Center:
http://opensource.samsung.com/index.jsp
From the Samsung OSRC you can get the source files to compile the Linux kernel for the Samsung Mezmerize. You will have to sign up for an account (free) and the download speeds are throttled but whatever.. it's the source files right from the manufacturer.
After you learn how to compile the kernel from Samsung source, you might take a stab at compiling the Voodoo v5 lagfix kernel for the mezmerize yourself.
Project Voodoo:
http://project-voodoo.org/
Project Voodoo has some very nice documentation and their own IRC channel on freenode #project-voodoo if you have any questions. After you work through compiling a modified kernel, you should be on your way to working on building your own roms and possibly helping with development and porting work for the 2.2 and 2.3 versions of the Android Open Source Project.
Most of these efforts can be found on github using their nice search. Or, look at the 2.1[Alpha] ROM thread for links to the fascinate source:
http://forum.xda-developers.com/showthread.php?t=898231
On that note, GET FAMILIAR USING GIT. You should already have git on your linux distro if you followed the instructions above (or if you've ever issued a sudo apt-get install git command). git has a very nice tutorial and extensive man documentation which can be accessed using:
man 7 gittutorial
Why? Because:
http://android.git.kernel.org/
and:
http://source.android.com/source/git-repo.html
I hope this extra info helps. And for some positive reinforcement.. building a kernel and subsequently rom is not that difficult (assuming you're knowledgeable in Computer Science and have some enthusiasm for a project like this.. for someone without prior knowledge it's a different issue..). But it is a BIG task. With that in mind, it just requires a lot of persistance and A LOT of reading, checking, and double checking. If you're willing to take the time to read others' documentation and build upon what they've done you can do a lot!
Some further reading that may interest you:
What is Android?
http://developer.android.com/guide/basics/what-is-android.html
Dalvik Virtual Machine
http://sites.google.com/site/io/dalvik-vm-internals
http://www.usenix.org/events/vee05/full_papers/p153-yunhe.pdf
Odex? Deodex?
http://android.git.kernel.org/?p=platform/dalvik.git;a=blob_plain;f=docs/dexopt.html;hb=HEAD
^^great article read it!!
decompiling and recompiling the .odex class
http://code.google.com/p/smali/
Excellent info, thanks for this!
This is good too:
http://www.cmsgs.com/mediawiki/index.php?title=Build_CyanogenMod_for_Samsung_Fascinate
Sweet I'm gonna add this to my Mac and get on the path to actual development, not just flashing stuff. I'm glad to see that virtual box runs on OSX I was just gonna use this as another excuse to add another OS and make my wife even happier... Thanks for all the info guys, and any more guides that you find the time for would be appreciated greatly! I got lots of reading to do now, and now I have something to do besides scrape snow off my car.
droidzach said:
Sweet I'm gonna add this to my Mac and get on the path to actual development, not just flashing stuff. I'm glad to see that virtual box runs on OSX I was just gonna use this as another excuse to add another OS and make my wife even happier... Thanks for all the info guys, and any more guides that you find the time for would be appreciated greatly! I got lots of reading to do now, and now I have something to do besides scrape snow off my car.
Click to expand...
Click to collapse
Feel free to ask us any specific questions you may have. You can find us in #samsung-mesmerize on freenode.net irc.
Bump, this should be stickied.
Scotsman, Are you receiving all of our pm's? I sent a few today, not sure if you've had a chance to read them but someone else thought the same so I wonder if the forum is having issues sending them to you?
bdemartino said:
Bump, this should be stickied.
Scotsman, Are you receiving all of our pm's? I sent a few today, not sure if you've had a chance to read them but someone else thought the same so I wonder if the forum is having issues sending them to you?
Click to expand...
Click to collapse
He probably gets lot's of pm's every day.. I doubt he reads them. He hasn't read mine. Someone might try contacting the XDA admins and getting us a mod here who actually owns a Mesmerize. As far as I understand, TheScotsman is an HTC guy (well at least not Samsung)...
Edit: Not trying to sound hostile, just frank. I also hadn't seen this:
http://forum.xda-developers.com/showpost.php?p=10927527&postcount=6
Perhaps we just need to work with him to revamp the stickies here a bit. I agree we need some solid stickies so users aren't asking the same old over and over again. I'm sure we'll be able to work things out in time.
dcow90 said:
He probably gets lot's of pm's every day.. I doubt he reads them. He hasn't read mine. Someone might try contacting the XDA admins and getting us a mod here who actually owns a Mesmerize. As far as I understand, TheScotsman is an HTC guy (well at least not Samsung)...
Edit: Not trying to sound hostile, just frank. I also hadn't seen this:
http://forum.xda-developers.com/showpost.php?p=10927527&postcount=6
Perhaps we just need to work with him to revamp the stickies here a bit. I agree we need some solid stickies so users aren't asking the same old over and over again. I'm sure we'll be able to work things out in time.
Click to expand...
Click to collapse
Yea, I really don't think he's receiving all the pm's. He was very fast to notice and suggest a separate thread for my newb guide (to be stickied) but I sent a few more pm's requesting a few other threads be done as well but no response. The very odd thing is only my initial response to his pm shows in my "sent" messages, none of the others are so I am wondering if the forum limits the amount a user can send to a mod.
bdemartino said:
Bump, this should be stickied.
Click to expand...
Click to collapse
What he said.
Unbuntu 10.10 32bit vs 64bit
Hi Developers!
I've downloaded Unbuntu 10.10 32bit Desktop and burned the image onto a CD.
Just wondering about the which flavor we should be using for development work.
There is 32bit and 64bit. I know that 32bit has been around for way longer.
But, should we be looking at 64bit for development?
Thanks,
Kevin
For anything past 2.2 you will need 64bit Ubuntu. This is kinda odd but whatever. Definitely go 64bit, none of the 'new' sources will compile without it (= Now, if the dev site would just update their instructions to reflect the latest policies.. .. their primary instructions are still for 32bit and their 64bit instructions are 'experimental' (but they work fine).
dcow90 said:
For anything past 2.2 you will need 64bit Ubuntu. This is kinda odd but whatever. Definitely go 64bit, none of the 'new' sources will compile without it (= Now, if the dev site would just update their instructions to reflect the latest policies.. .. their primary instructions are still for 32bit and their 64bit instructions are 'experimental' (but they work fine).
Click to expand...
Click to collapse
Good to know! Thanks man!
Onebryteday said:
Good to know! Thanks man!
Click to expand...
Click to collapse
I get to this point and get this.
[email protected]:~/Downloads$ tar . android-sdk_r10-linex_x86.tgz
tar: invalid option -- '.'
Try `tar --help' or `tar --usage' for more information.
[email protected]:~/Downloads$
what am i doing wrong thanks for any help or info.
none of this ever works for me
im lucky I get to decompile apk's
oostah said:
I get to this point and get this.
[email protected]:~/Downloads$ tar . android-sdk_r10-linex_x86.tgz
tar: invalid option -- '.'
Try `tar --help' or `tar --usage' for more information.
[email protected]:~/Downloads$
what am i doing wrong thanks for any help or info.
Click to expand...
Click to collapse
Typo . android-sdk_r10-linex_x86.tgz should be
. android-sdk_r10-linux_x86.tgz
Also you cannot type all of the code word for word as some of the files you download have different names or are in different folders than where phidelt originally had them. Just read the filenames and make sure that you have the correct directories where files are located.
Well im done setting up, where do I go from here :/ by the way I "thanked you" XD

[Q] getting the mesmerize in a few days!!! adb help

hello xda!!! been doing alot of reading here and desided that i wanted to be part of the action...with that said...
did some reading on how to get clockworkmod on the mesmerize and have no clue how in gods name to use adb...is there a how to that could help me better understand how to use it and get this on my phone after i have it rooted...soory for the noob question but as you can see. im a noob at this. only phone i have really modded is the samsung acclaim (which btw is a weak phone but good for the noobie droid user) so any help is greatly appreciated. thanks in advance guys and i look forword to helping devs by testing and such
adb, or android debug bridge, is a tool distributed with the android sdk. In current versions of the sdk, it is located in the platform-tools folder, which only appears after you download the sdk tools after downloading the sdk zip itself.
It should be noted that usb debugging needs to be enabled on your device in order for adb to work properly. This can be turned on under: Applications > Development
To use adb, you open up a command window if on windows or a terminal emulator if on linux or mac. Type:
adb <command> [options]
Where command is any one of the commands listed when typing "adb help" and options are things like file names, paths, or other flags.
Common commands include:
pull
push
shell
pull copies a file on your device to your current working directory (or the optional specified location)
push copies a file from your computer onto the device
shell invokes a simple shell on your device allowing you work in a linux like environment on your device
There is a reboot command that is sometimes helpful but that can always be done using the power button on the device.
You will probably only use push and shell.
Examples:
adb shell
adb push update.zip /sdcard/update.zip
Hope that clairifies things a bit.
yes it does sir...so with those commands i can "push" the clockworkmod onto my mesmerize and have that beautiful recovery? the only directions i found where using the adb. if there any way i can screw this up ei: mistyping or will it just say invalid command or something? and again ty for the fast response!!!
you got the thanks for that...lol...im grateful for any and all help
Typos shouldn't hurt. If it's a bad command it just won't execute. If it's a bad filename you may have to clean up a bit (like remove the file that is improperly named or in the wrong directory) but nothing fatal should happen.
alright...i feel a bit more confident that i can make clockworkmod happen when i get my mesmerize and get it rooted...any other suggested mods for spped?
You should install a custom ROM, (I use Super Clean, some people prefer the pick n pack) then a theme you like from the themes and apps section, then install the voodoo lagfix kernel. Everything mentioned can be found in the Mesmerize forum.
yea i seen voodoo but wasnt quite sure what exactly it does. as far as the pick n pack or super clean...could you tell me the difference or does it say it on the page where it was posted and im just blind and didnt see it?
BakedTator said:
yea i seen voodoo but wasnt quite sure what exactly it does. as far as the pick n pack or super clean...could you tell me the difference or does it say it on the page where it was posted and im just blind and didnt see it?
Click to expand...
Click to collapse
Its obvious you didn't read the threads.
Sent from my SCH-I500 using XDA App
ADB is nice and all ..
But there other ways to install and do everything needed to Flash a ROM or Kernel.
How to get ADB up and running.
And a couple other great links for learning more.
http://forum.xda-developers.com/showthread.php?t=502010
http://forum.xda-developers.com/showthread.php?t=872128
If you look in the Clockwork Mod thread here in the Mez forums there are walkthroughs on BOTH ADB method to get CWM working and sans ADB methods.
And again. Always Read.. Read again.. if all else fails.. Read once more.. And ask.. Everyone here is very informative and glad to help when we can.
I knew nothing of Android before I came here and a month later I know enough now to be dangerous.. LOL
skitzo_inc said:
Its obvious you didn't read the threads.
Sent from my SCH-I500 using XDA App
Click to expand...
Click to collapse
i did read just havnt read over it several times to see if i have missed anything...just a lil scared of adb because i have never used it before..i have an acclaim and could do everything from the swupgrade flasher for the moment and that made life easy(aint tryin to brick a 600$ phone)
to Sighcosis
thanks for the link...will read over them tonight seeing as my phone will be here no later than Wednesday and i wanna have everything downloaded and ready to roll cause the second i get this phone imma start fashing it and getting everything i want on it...again thanks for all the help guys...now more reading

[Q] CIFS Manager compatibility?

Just got my A700 and it appears the kernel is not CIFS-compatible. I understand there are modules which can be used with CIFS Manager to make it work with non-compatible kernels. Does anybody know if one exists that will work with the A700?
Funny timing, I was researching this last night! I ran out of time, but essentially if you grab the kernel source, you should be able to compile the needed module, which we can then load.
I'll update this post later this morning when I dig up that URL.
--
Here are the two sources that I was referring to:
http://facti.net/drupal/node/151
http://facti.net/drupal/node/150
These articles were written for the TF101, but with the A700 kernel source available (go to Acer's Support site), there's no reason anyone cannot do this as well.
I'm going to try and find some time tonight, but we'll see.
Is this something that requires recompiling the whole kernel, or can you load the module into CIFS manager separately? If you manage to compile the module, can you post it here?
candre23 said:
Is this something that requires recompiling the whole kernel, or can you load the module into CIFS manager separately? If you manage to compile the module, can you post it here?
Click to expand...
Click to collapse
If I'm reading/researching everything correctly, all we need is a cifo.ko module from our kernel source. You should not have to recompile and install a completely new kernel.
Work is really busy today, but I've already downloaded the kernel source to a machine at home. Hoping to get time tonight to get it set up and run some tests. I'll post updates here for sure.
Thank you. I'm sure I'm not the only one who would appreciate it.
Alright, please try this file.
I cannot test myself, since I have not yet rooted (another topic entirely). Please let me know if this works for you.
No joy. Stuck the file where it wanted it, but I'm still getting "no such device".
candre23 said:
No joy. Stuck the file where it wanted it, but I'm still getting "no such device".
Click to expand...
Click to collapse
You're rooted, right?
Can you execute the following command, to "force" the module to be loaded?
insmod /system/lib/modules/cifs.ko
You can use either ADB SHELL or Terminal Emulator. Be sure you're root when you do this too (sorry, not sure what your current knowledge level is).
Thx for your effort. Unfortunately i get the following error:
# insmod /system/lib/modules/cifs.ko
insmod: init_module '/system/lib/modules/cifs.ko' failed (Exec format error)
Regards,
Dos
dosboot99 said:
Thx for your effort. Unfortunately i get the following error:
# insmod /system/lib/modules/cifs.ko
insmod: init_module '/system/lib/modules/cifs.ko' failed (Exec format error)
Regards,
Dos
Click to expand...
Click to collapse
Thank you for posting this. I think I might know what I goofed. Hopefully will get another one compiled and posted tonight.
when you compile the modules are they tablet specific? i tried the cifs.ko and md4.ko from the a500 thread in my a510, and they would load up fine with insmod, but when i used cifsmanager to mount a windows share, or tried to mount from adb shell, the tablet would reboot.
Rusty_Gunn said:
when you compile the modules are they tablet specific? i tried the cifs.ko and md4.ko from the a500 thread in my a510, and they would load up fine with insmod, but when i used cifsmanager to mount a windows share, or tried to mount from adb shell, the tablet would reboot.
Click to expand...
Click to collapse
They are specific to the kernel source code, yes.
I most likely did not have the correct kernel configuration in place, when I attempted my recompile. But since I'm returning the A700, I didn't feel like delving into it further. The articles I linked to earlier should be a good start if you wish to give it a go.
Any idea how to make CifsManager work on A510?

How do I verify the signature for LineageOS with microG in Python?

I honestly have nooo idea what to do because every single answer I found so far assumes that the reader knows things that I have never heard of before. I'm getting desperate and hope some of you can help me. Here's my problem:
I want to install LineageOS with preinstalled microG from here: https://lineage.microg.org/
But it tells me that I need to "verify the signature using python" which might as well be a magic incantation. The readme also doesn't help me at all: https://github.com/lineageos4microg/update_verifier/blob/master/README.md
WHERE do I type this?? How does python know which file I'm referring to? I installed python, started it so i got that small black window and just copied what's written in the readme but apparently that's a syntax error?
I'm sure for most people in this forums the answers are very obvious, but I don't even know what python actually IS (besides a programming language??)
Any help would be very much appreciated!
Woolicorn said:
I honestly have nooo idea what to do because every single answer I found so far assumes that the reader knows things that I have never heard of before. I'm getting desperate and hope some of you can help me. Here's my problem:
I want to install LineageOS with preinstalled microG from here: https://lineage.microg.org/
But it tells me that I need to "verify the signature using python" which might as well be a magic incantation. The readme also doesn't help me at all: https://github.com/lineageos4microg/update_verifier/blob/master/README.md
WHERE do I type this?? How does python know which file I'm referring to? I installed python, started it so i got that small black window and just copied what's written in the readme but apparently that's a syntax error?
I'm sure for most people in this forums the answers are very obvious, but I don't even know what python actually IS (besides a programming language??)
Any help would be very much appreciated!
Click to expand...
Click to collapse
You can skip this.
But still if you want this, then download https://github.com/lineageos4microg/update_verifier/archive/master.zip and unzip it. You will get update_verifier-master folder. Place your rom file in that folder. Open command prompt in that directory and issue commands.

Categories

Resources