User-agent: Mediapartners-Google Disallow: User-agent: * Disallow: /search Allow: / Sitemap: http://nano7mobile.blogspot.com/sitemap.xml Nano Mobile: compile
Affichage des articles dont le libellé est compile. Afficher tous les articles
Affichage des articles dont le libellé est compile. Afficher tous les articles

[Q/A] CM12 for Xperia SP Compile Error topic






hello . today may i ask you about CM12 Compiling . but i'm have error


Quote:









Traceback (most recent call last):
File "./build/tools/releasetools/make_recovery_patch", line 53, in <module>
main(sys.argv[1:])
File "./build/tools/releasetools/make_recovery_patch", line 49, in main
common.MakeRecoveryPatch(input_dir, output_sink, recovery_img, boot_img)
File "/home/tethplus/lollipop/build/tools/releasetools/common.py", line 1197, in MakeRecoveryPatch
td_pair = GetTypeAndDevice("/recovery", info_dict)
File "/home/tethplus/lollipop/build/tools/releasetools/common.py", line 1144, in GetTypeAndDevice
return PARTITION_TYPES[fstab[mount_point].fs_type], fstab[mount_point].device
KeyError: '/recovery'
build/core/Makefile:1442: recipe for target '/home/tethplus/lollipop/out/target/product/huashan/obj/PACKAGING/target_files_intermediates/cm_huashan-target_files-9d612ecbfa.zip' failed
make: *** [/home/tethplus/lollipop/out/target/product/huashan/obj/PACKAGING/target_files_intermediates/cm_huashan-target_files-9d612ecbfa.zip] Error 1










[GUIDE] How to Compile Your Own CM11/CM12/AOSP Kernel topic






Hi guys, long time no post. I have updated this guide on how to build kernels for Falcon so that anyone can learn! It's pretty simple once you get the hang of it. So yeah, here we go!


Quote:









Prerequisites:
- You must have a Linux firmware running on your computer (I suggest Builduntu because you can skip the next one [build environment setup])
- Build environment setup (Put the this in terminal and follow instructions)
- Patience and a heart willing to learn
- You need to know the languages C, C++, Java, Ruby, Python... NOT! You don't need to know ANY coding languages.

[MOTIVATIONAL SPEECH]
Truth be told, when I first started out developing, I knew NO coding languages except for HTML and a little bit of Java. Both have nothing to do with kernels! I actually learned how to do this when I suffered from a concussion. So if you really want to learn how to kernel dev and you give up halfway, just know that a 14/15 year old kid could do it..
[/MOTIVATIONAL SPEECH]




WARNING: I am not responsible for any damages to your phone or computer or pet unicorn. When you modify the wrong partitions, set too many jobs for your compiler, break your keyboard out of frustration etc., that is not anyone's fault but yours. Or your pet unicorn.


Quote:









Your Personal Handbook to the Following:
- Anything inside "CODE" boxes, type it into your terminal. If you can't find terminal, then press CTRL, ALT, t.
- If I were you, I would write these by hand instead of copying and pasting it because after a certain amount of times, you will remember the linux commands and it will be easier for you to compile more kernels for different devices
- Use this thread as a "Help Me" button. Ask for help!






Quote:









A New Beginning:
Let's start out with something simple, getting the actual code:

Code:


git clone https://github.com/cyanogenmod/android_kernel_motorola_msm8226

This could range from 3 minutes to 2 hours!

Once that's done, open up your file manager and rename the folder (should be android_kernel_motorola_msm8226) to whatever you want. I will refer it as "mykernel".





Quote:









Pokemon!
For this tutorial, we will be using a Sabermod 4.7 toolchain to compile. I WOULD teach you how to compile with 4.8+, but it creates errors that will take even longer for me to write about sooooooooo :fingers-crossed:. Now to get the toolchain:

Code:


git clone https://github.com/SaberMod/android_prebuilts_gcc_linux-x86_arm_sabermod-arm-eabi-4.7

Rename this to whatever you like, but I will be referring this as "toolchain"
Now go into you folder where the kernel source is stored...

Code:


cd mykernel







Quote:









You're Almost There!:
Time to set-up the compiler!

Code:


export CROSS_COMPILE=/home/(insert linux home name here)/toolchain/bin/arm-eabi-

This tells the toolchain that "OK, we want to make ALL this code here into a kernel".
This next line tells it that your defconfig (the toolchain's manual for compiling the kernel) that it's in the arch/arm/configs folder.

Code:


export ARCH=arm

Now to tell the it what the defconfig is!

Code:


make falcon_defconfig

Hehe, now to the hardest part of all...
MuHAHHAHAHa





Quote:









THE HARD (coding) PART
You ready for this? HERE IT IS! TIME TO BUILD THE KERNEL!

Code:


make -j4

Now sit back, relax, and watch the code! Or you could read a book, watch ****, count your fingers, play with your toes...
If you have an error during the waterfall of code, find the part where it actually says *error* (you'll probably have to scroll upwards) and search it on Google or post it here.





Quote:









THE BEST PART
If you manage to get something that says "the kernel zImage is ready" or something like that, that means you've made it!
You have officially compiled your own kernel from source! Now you need to put it in a flashable zip.
Download this file and open it up, but DON'T EXTRACT IT.
Now go to your kernel source then "CTRL + F" and search for "zimage-dtb".
Find it and put it in the "kernel" folder of "FalconKernel - Signed.zip". Then "CTRL + F" and search ".ko".
Copy radio-iris-transport.ko and put it in the system/lib/modules (not pronto) of the zip.
Then find wlan.ko and rename it to pronto_wlan.ko. Copy and paste it in system/lib/modules/pronto of the zip.




Now you can put it on your phone and flash it!






Has anybody yet attempted to compile the 4.3 Kernel from Source yet? w/ Rant inside topic






Has anybody yet attempted to compile the 4.3 Kernel from Source Provided yet (device probably use some slight overclocking and light undervolting)? This device has amazing battery life and runs great. This is coming from somebody who has had 5 qualcomm 800 processor phones and no less than 400 phones (yes Really). Most people that i see with higher end phones use facebook and some other social apps, most of the processors are sitting idle for most people. I guess marketing is good now a days. Millions of people with 600-700 dollar phones with most processor cores times at idle and have no clue.

My wife got a Note 4 and I told her not to since most people have no clue of power/price to actual use/needs on a phone. Well yesterday, we kept running into each other in the house and I kept asking her about her battery percentage until at 3pm she started charging her phone and I told her Im at 70% (while laughing). Well she just ordered a HAM2 today. Yes I know you can get a 10,000Mah brick extension for the "high" end phones but damn. I guess I am getting older and seeing behind the hoopla.

Anyways rant off, but seriously any one look at the code yet. Im downloading it now.






[Q] question : how to decompile and compile protected apk ? topic






hi

i have a program that i want to decompile and change something and then compile it
and i use 2 way
first i use apktool that decompile it but when i want compile it , it show errors ( even withot change nothing )
second i rename apk with zip and extract all and then without change nothing I compress extracted file and rename it to apk and sign it and then the program not work .

the program attached


i think it use some protection or ...

any one have an idea ?

thanks a lot














Attached Files





File Type: apk B15V5.2.apk -
[Click for QR Code]
(11.21 MB)