Work In Progress -2.3.4 AOSP for Galaxy Ace and Coming with RTL Support! - Galaxy Ace S5830 Android Development

Hello Ace Users!
Screenshots coming soon.
RTL Language will be added thanks to BehradGH. Remember to thank him too.
Many Thanks
EmoBoiix3, fla.sh (Dev of fla.sh ROM) And me Jekle_Ace and our tester consegregate
AOSP will include all the vanilla android components like Gingerbread Keyboard, Gingerbread launcher, As well as no samsung clutter or customizations. GUESS WHAT NO ANNOYING SAMSUNG BOOT ANIMATION!!! We are trying to keep it as Vanilla As possible but certain applications and customization's will be there to improve the usability and functionality. But nothing too drastic.
Please don't expect a fully working build straight away. We will have RIL (Network) Working amongst other things. ETA is not available but a beta release will be available As soon as we get things up and running and satisfied with the quality of OUR Work. We have not flashed it to our device(s)
yet but is working great with the emulator.
We will not settle for arguments and petty squabbling over things on this topic. Nor asking for ETA's and begging for fixes. We are very busy with this project and we want our work to be valued. If you are not satisfied with our big effort.
Please use another ROM or Make AOSP yourself. Eh?
Feel free to post any concerns and problems you face with it.
We are considering to make a different version to work with different GSM Bands so all ace users will be able to be use there Ace's whatever there region. Don't expect it for all regions when the European based release is available.
Feel free to press the thanks button, It will make my day. And thank EmoBoiix3 and fla.sh for there big contributions to the project and mine!

Please help us . If you do , we will be eternally grateful

EmoBoiix3 said:
Please help us . If you do , we will be eternally grateful
Click to expand...
Click to collapse
guys ask AOSP developers for other samsung galaxy phones .they might be able to help you....

hallowen said:
guys ask AOSP developers for other samsung galaxy phones .they might be able to help you....
Click to expand...
Click to collapse
We did use our brains and try to solve the issue ourselves. As this aosp rom is for the Ace community
We are trying to ask for help from others. We also asked in the Chef Central, Android forum. Could you point us to anyone?
Sent from my GT-S5830 using XDA App

hallowen said:
guys ask AOSP developers for other samsung galaxy phones .they might be able to help you....
Click to expand...
Click to collapse
We tried asking around Chef Central to no avail.....

Can u share the make file of Cooper from github?

letsurock said:
Can u share the make file of Cooper from github?
Click to expand...
Click to collapse
Which one ? Sorry , there's 2 makefile(s) here

If you want aosp rom, help us to make it possible
Sent from my GT-S5830 using XDA App

PM Android-Desire since he's made an AOSP himself, maybe he'll be willing to help out.

consegregate said:
PM Android-Desire since he's made an AOSP himself, maybe he'll be willing to help out.
Click to expand...
Click to collapse
His account has been disabled , and I hate him .

consegregate said:
PM Android-Desire since he's made an AOSP himself, maybe he'll be willing to help out.
Click to expand...
Click to collapse
hes already banned from xda few days ago by moderator because insulting/attacking other user (i think that particular user who being insulted by him is EmoBoiix3). theres no point in seeking help from such childlish behave guy like that. besides, that aosp rom his been bragged about all this time is just his saying, no proof of it even existed.
btw my advice would be pm-ing other user on other device forum who had already compiled and released their aosp rom here in xda. maybe they can help

EmoBoiix3 said:
Which one ? Sorry , there's 2 makefile(s) here
Click to expand...
Click to collapse
Both would be great

I meant to write that to see if he indeed had the rom.. so he's banned. Now, how about contacting trapacska? he's got a build working but without many functionalities but he should be able to give help somehow.

consegregate said:
I meant to write that to see if he indeed had the rom.. so he's banned. Now, how about contacting trapacska? he's got a build working but without many functionalities but he should be able to give help somehow.
Click to expand...
Click to collapse
+1
Good idea . /10char

letsurock said:
Both would be great
Click to expand...
Click to collapse
Which one do you want ?

Error
Code:
build/core/base_rules.mk:162: *** hardware/msm7k/libaudio: MODULE.TARGET.SHARED_LIBRARIES.libaudiopolicy already defined by device/samsung/cooper/libaudio
Possible Solution
Go to the Android/hardware/msm7k/Android.mk 'and remove from the line-qsd8k libgralloc and libaudio
Code:
msm7k_adreno_dirs: = $ (common_msm_dirs) boot qsd8k libgralloc libaudio
If this solves the error than
Another possible error that may occur after that
Code:
Buildinfo Target: out / target / product / cooper / system / build.prop
/ Bin / bash:-c: line 0: unexpected EOF on Reaching a `" '
/ Bin / bash:-c: line 1: syntax error: unexpected end of file
make: *** [out / target / product / cooper / system / build.prop] Error 1
make: *** Removing file `out / target / product / cooper / system / build.prop
Possible solution
Go to build / core / Makefile and
Code:
$ (If $ (ADDITIONAL_BUILD_PROPERTIES), \
$ (Hide) echo>> $ @; \
"#">> echo $ @; \
echo "# ADDITIONAL_BUILD_PROPERTIES">> $ @; \
"#">> echo $ @;)
$ (Hide) $ (foreach line $ (ADDITIONAL_BUILD_PROPERTIES), \
echo "$ (line)">> $ @;)
Next error occur that may occur
Code:
Checking API: checkapi-last
(Unknown): error 17: Field org.apache.http.protocol.HTTP.EXPECT_CONTINUE value has changed from "100-Continue" to "100-continue"
******************************
You have tried to change the API from what has been Previously released in
an SDK. Please fix the errors Listed above.
******************************
make: *** [out / target / common / obj / PACKAGING / checkapi-last-timestamp] Error 38
Possible solution
Go to the external/apache-http/src/org/apache/http/protocol/HTTP.java and change this line "100-continue" to "100-Continue"
Code:
public static final String EXPECT_CONTINUE = "100-continue";

skynet28 said:
Error
Code:
build/core/base_rules.mk:162: *** hardware/msm7k/libaudio: MODULE.TARGET.SHARED_LIBRARIES.libaudiopolicy already defined by device/samsung/cooper/libaudio
Possible Solution
Go to the Android/hardware/msm7k/Android.mk 'and remove from the line-qsd8k libgralloc and libaudio
Code:
msm7k_adreno_dirs: = $ (common_msm_dirs) boot qsd8k libgralloc libaudio
If this solves the error than
Another possible error that may occur after that
Code:
Buildinfo Target: out / target / product / cooper / system / build.prop
/ Bin / bash:-c: line 0: unexpected EOF on Reaching a `" '
/ Bin / bash:-c: line 1: syntax error: unexpected end of file
make: *** [out / target / product / cooper / system / build.prop] Error 1
make: *** Removing file `out / target / product / cooper / system / build.prop
Possible solution
Go to build / core / Makefile and
Code:
$ (If $ (ADDITIONAL_BUILD_PROPERTIES), \
$ (Hide) echo>> $ @; \
"#">> echo $ @; \
echo "# ADDITIONAL_BUILD_PROPERTIES">> $ @; \
"#">> echo $ @;)
$ (Hide) $ (foreach line $ (ADDITIONAL_BUILD_PROPERTIES), \
echo "$ (line)">> $ @;)
Next error occur that may occur
Code:
Checking API: checkapi-last
(Unknown): error 17: Field org.apache.http.protocol.HTTP.EXPECT_CONTINUE value has changed from "100-Continue" to "100-continue"
******************************
You have tried to change the API from what has been Previously released in
an SDK. Please fix the errors Listed above.
******************************
make: *** [out / target / common / obj / PACKAGING / checkapi-last-timestamp] Error 38
Possible solution
Go to the external/apache-http/src/org/apache/http/protocol/HTTP.java and change this line "100-continue" to "100-Continue"
Code:
public static final String EXPECT_CONTINUE = "100-continue";
Click to expand...
Click to collapse
Thank you we are trying this now! You are a LEGEND!

skynet28 said:
Error
Code:
build/core/base_rules.mk:162: *** hardware/msm7k/libaudio: MODULE.TARGET.SHARED_LIBRARIES.libaudiopolicy already defined by device/samsung/cooper/libaudio
Possible Solution
Go to the Android/hardware/msm7k/Android.mk 'and remove from the line-qsd8k libgralloc and libaudio
Click to expand...
Click to collapse
Should the Android.mk be done like this ?
Code:
common_msm_dirs := libcopybit liblights libopencorehw librpc libstagefrighthw
msm7k_dirs := $(common_msm_dirs) boot
qsd8k_dirs := $(common_msm_dirs) libgralloc-qsd8k libaudio-qsd8k dspcrashd
msm7x30_dirs := liblights libgralloc-qsd8k librpc libaudio-qdsp5v2
msm7k_adreno_dirs: = $ (common_msm_dirs) boot qsd8k libgralloc libaudio
ifeq ($(TARGET_BOARD_PLATFORM),msm7k)
include $(call all-named-subdir-makefiles,$(msm7k_dirs))
else
ifeq ($(TARGET_BOARD_PLATFORM),qsd8k)
include $(call all-named-subdir-makefiles,$(qsd8k_dirs))
else
ifeq ($(TARGET_BOARD_PLATFORM),msm7x30)
include $(call all-named-subdir-makefiles,$(msm7x30_dirs))
endif
endif
endif
I tried it like this and I get a new error about libril , exact same message .

Thanks a ton, syknet28
Let's continue our work, team...
EDIT: New error

fla.sh said:
Thanks a ton, syknet28
Let's continue our work, team...
EDIT: New error
Click to expand...
Click to collapse
It's just errors , no rush , don't have to get paranoid .

Related

[Nov 04] StockEvo Kernel Updates (Including Tracker/Email Alerts)

Location : http://www.vbnfiles.com/xda/vbn/Kernels/StockEvo_Latest
This thread is used to keep track of StockEvo kernel builds as and when a new commit is available. Also good way to discuss each commit and get more knowledge on our beloved Leo
CHANGELOG
Until Nov 04 Rollup :
Multiple Commits
* Merge branch 'master' of git://gitorious.org/~rajkosto/linux-on-wince-htc/rajko-linux_on_wince_htc
* silly htc, you shouldn't use dma_sync_single on dma mapped PAGES
* Applied patch for ppp driver. See http://docs.openmoko.org/trac/ticket/2212
* htcleo: changed the LS polling to 5s. Liblights is using now internal mictop bl.
* htcleo: fixed small BL settings for no sense builds and autobl rights
Until Oct 29 Rollup :
Commit : e7a2876f
* htcleo: change himem/lomem repartition to have more low memory
* Experimental, it seems to improve out of memory errors in smd_tty and other locations
------
Commit : 1b31881d
* htcleo: fix htcleo_defconfig to match kernel Kconfig
* For the record, previous values come from supersonic kernel which is also broken
------
Commit : d28b1aa6
* htcleo: fixed USB charging problems in some configurations and cleanups
Until Oct 27 Rollup :
Commit : f18d178b
* htcleo: add missing file in last commit (battery temp table)
------
Commit : 53a7287c
Author : Markinus
* htcleo: add new battery temperature table
* This table is not absolutly exact, but good
------
Commit : 55ca1d27
Author : Markinus
* htcleo: add new battery driver
* This driver is comming from desire hd and is modificated for htcleo
Oct 25 (2) :
Commit : dbd408ef
Author : letama (On behalf of Darkstone)
- Audio stuttering fix, credits to Darkstone
Oct 25 :
Commit : 26386dbf
htcleo: cleanups and fixes for battery and power
- Correct cable detection on boot with cable in
- Removed battery disabling code, this isn't working with our device
- Add Full Battery Calibration, if Battery > 95% and charging <5mA we set it to 100% (fix for nand 100% problems)
- Removed some not used code
Important: It's in this step for standard battery only, support in next step.
Oct 22 :
New Comment : Link to corresponding acdb file
Effect : Possibly much cleaner audio calls/interchanges ... translated using Leo WinCE ... also related to CAD (in WM) [Need Dev confirmation]
htcleo.acdb attached to first post
* Copy new htcleo.acdb to /system/etc/firmware ; Reboot
---------------------------------------------------
Oct 21 :
New Commit : dc353d93
Author : Letama
Desc : Add support for specific acdb file
[/b]
Click to expand...
Click to collapse
** TRACKER **
I have developed a tracker on the VBN Server which gets triggered when a new Stock Evo kernel is available for HD2.
Original Files : http://oe.netripper.com/files/htcleo_autobuild_evo_tree/
Latest kernel is compiled when a new commit is available here : http://www.gitorious.com/linux-on-wince-htc/linux_on_wince_htc (This is checked every 30 mins)
----------------------
My Server checks every 5 mins the buildlogs and extracts the *.ko and zImage files and places them here : http://www.vbnfiles.com/xda/vbn/Kernels/StockEvo_Latest
It also sends out a email with details of change and links to download the kernel.
This is mostly useful for people who are on Stock Evo kernel and update it every new build for testing
If you want to be on the email list, please PM me your email address and I will add it to CC.
Click to expand...
Click to collapse
MODULE LOCATONS
* Assuming root folder on sdcard name as "Android"
* Reboot into WM and use sdcard as Storage Device, create directories if dont exist and then copy/overwrite
zImage : SDCARD/Android
bcm4329.ko/tun.kp/yaffs.ko : SDCARD/Android/root/system/lib/modules
libhtc_ril_wrapper.so : SDCARD/Android/root/system/lib and SDCARD/Android
*.acdb : SDCARD/Android/root/system/etc/firmware
Click to expand...
Click to collapse
great jobs man..i sent u a pm..add me in your email list..TQ
Yea I just pm'ed you too. Thanks VBN
* All the PMs have been added to the "bcc" list on the alerts
* Check Interval changed to 5 mins
* It now also creates a zip file in the vbn folder for easy download
Thanks for the awesome work!
@dubie76 : Added !
Everyone on the list may have got redundant email...thats because the tracker restarts when email address is added/removed ... .its fixed now and should not trigger a first run everytime
You have pm from me.....thx!
v-b-n said:
@dubie76 : Added !
Everyone on the list may have got redundant email...thats because the tracker restarts when email address is added/removed ... .its fixed now and should not trigger a first run everytime
Click to expand...
Click to collapse
Sent from my HTC HD2 using XDA App
tinuz97 said:
You have pm from me.....thx!
Sent from my HTC HD2 using XDA App
Click to expand...
Click to collapse
All Set !
Hi v-b-n,
Thank you for this offer! I have PM'd you!
Thanks so much
Jackuuuuu said:
Hi v-b-n,
Thank you for this offer! I have PM'd you!
Thanks so much
Click to expand...
Click to collapse
Included !
v-b-n said:
Included !
Click to expand...
Click to collapse
Super fast responds!!! Thanks again!
Sorry Sanjeev, keep forgetting to post here
Brilliant work on this and thanks for pre-adding me
It was a welcome surprise!
No worries man ... interestingly since I got the tracker going there has been no updates on the kernel
v-b-n said:
No worries man ... interestingly since I got the tracker going there has been no updates on the kernel
Click to expand...
Click to collapse
I know typical isn't it lol
Just noticed something Sanjeev, the timestamp for the modules is outdated compared to the kernel image...
birkoffsjunk said:
Just noticed something Sanjeev, the timestamp for the modules is outdated compared to the kernel image...
Click to expand...
Click to collapse
... missed that...fixing it
@n13astra / @fachex / @TML1504 : Your emails have been added !
birkoffsjunk said:
Just noticed something Sanjeev, the timestamp for the modules is outdated compared to the kernel image...
Click to expand...
Click to collapse
Found the problem...the buildlog comes up immediately but the actual modules and kernel takes time to come in which caused the old download....
I put in a delay of another 5 mins once a new build is found
Files are updated in the stock directory now...
this is great work !! thanks !!
OK I decided to modify the thread content to "all about the StockEvo kernel" ... kind of a place to discuss the commits and how it effects us...more focussed on end-user experience.
Latest update :
Oct 22 :
New Comment : Link to corresponding acdb file
htcleo.acdb attached to first post
* Working directory : /system/etc/firmware
* Using rootexplorer, rename default.acdb to default.bak ; Move new htcleo.acdb to /system/etc/firmware ; Reboot

[REQ] Help me get european ROMS working on i9000N

Hi all,
Can someone with experience teach a Guatemalan electronics engineer (that's me ) who has worked for 15 years programming business and web apps mostly in C# how to build a kernel so that I can run my P1000N with european roms?
I have never worked with open source projects, but I'm willing to learn.
The first problem to solve is that when I flash a european rom I loose touch screen capabilities, so that points to a different driver being used.
Or maybe there is someone who can tackle this project?
Thanks!
first of all, which rom do you want to use?
is the source code for your device released?
do you have a linux workstation (virtual machine is enough)?
are you familiar with the linux terminal and its commands?
Landroid said:
first of all, which rom do you want to use?
Click to expand...
Click to collapse
For example Roto's
Landroid said:
is the source code for your device released?
Click to expand...
Click to collapse
Yes, searched on http://opensource.samsung.com/ for P1000N and already downloaded.
It's the difference with european kernel.
On the readme it lists:
< Platform >
1. Get Android open source code
: version info - Android froyo 2.2 (android-cts-2.2_r2)
( Download site : http://source.android.com )
2. Get GT-P1000 open source code
: GT-P1000_OpenSource.zip
( Download site : http://opensource.samsung.com )
Unzip it, then you will see the file GT-P1000_Platform.tar.bz2 which includes the platform source code.
3. Overwrite GT-P1000 Platform OpenSource to the Android open source.
4. Unzip GT-P1000N_Platform.tar that comes from the Latin American version.
( You can find GT-P1000N_Platform.tar in the same directory with this README.txt . )
5. Overwrite GT-P1000N Platform OpenSource to the Android + GT-P1000(European) Platform open source code.
6. Run build_latin_n.sh user/eng
$ ./build_latin_n.sh user
$ ./build_latin_n.sh eng
< Kernel >
1. Get GT-P1000 open source code
: GT-P1000_OpenSource.zip
( Download site : http://opensource.samsung.com )
Unzip it, then you will see the file GT-P1000_Kernel.tar.bz2 which includes the kernel source code.
2. Unzip GT-P1000N_Kernel.tar that comes from the Latin American version.
( You can find GT-P1000N_Kernel.tar in the same directory with this README.txt . )
3. Overwrite GT-P1000N Kernel Open Source to the GT-P1000(European) kernel open source code.
4. Run build_kernel_latin_n.sh
$ ./build_kernel_latin_n.sh
* Output files
- Kernel : Kernel/arch/arm/boot/zImage
- module : Kernel/drivers/*/*.ko
* How to Clean
- run build_kernel_n.sh Clean
$ ./build_kernel_n.sh Clean
* How to make .tar binary for downloading into target.
- change current directory to Kernel/arch/arm/boot
- type following command
$ tar cvf gt-P1000N-kernel.tar zImage
Landroid said:
do you have a linux workstation (virtual machine is enough)?
Click to expand...
Click to collapse
I'll install a VM, is Ubuntu ok? or do you have suggestions of something that will work better?
Landroid said:
are you familiar with the linux terminal and its commands?
Click to expand...
Click to collapse
Somewhat rusty...
So, I know what a kernel is but in Android what is refered as the Platform?
Thanks!
platform is for example android 2.2 froyo
and you are going to do exactly what uyou have read in this readme file its not so hard to do
Hi, did you manage to flash any Rom ?

My development files and About donation for me

I uploaded my dev files on some threads. but for the convenience, I write this thread for streak developer.
CM7 dev file -> mediafire dbzrp78zrsu4558
CM9 dev file -> mediafire s3dvjw58kpw9by2
CWM dev file -> mediafire q3f9zo3ny5z6i2n
MIUI US ver. -> mediafire 33jrxu2g5slwerq
Below is my opinion about the donation for me.
First of all, thank you so much for your thought of donation for me.
and I say result first that I will not receive donation.
I just develop something for enjoyment. (likely play the game.)
When my codes were working successfully, I couldn't contain my joy.
But if I receive donation, I think that I will have sense of duty because of my personality.
(I will think that I must repay for your donation. and development wil be not my enjoyment any more...)
Then I will develop something quickly for you, but It could bring disappointing only.... T^ T;;
Thank you very much to you again, I don't receive any donation... I think I'm so weird... hehe.... ;;
Finally, I don't think i'm not a man deserving of donations. ;;;;
Because there are a lot of good people than me... I think... ;;;;;;;;
All of my dev files are posted above. and You can develop awesome thing than I developed!
you are not weird, just not mainstream
985hPaKicK said:
I just develop something for enjoyment. (likely play the game.)
When my codes were working successfully, I couldn't contain my joy.
Click to expand...
Click to collapse
Thank you for sharing the products of your enjoyment with us. I like your work and like your opinion on this. Stay indpendent as long as you could. No obligation, no demands. Working for fun, gets the best results. I take my hat of to you.
@ 985hPaKicK:
Great work. Great words.
@ 985hPaKicK
Respect and admiration.
985hPaKicK said:
I uploaded my dev files on some threads. but for the convenience, I write this thread for streak developer.
CM7 dev file -> mediafire dbzrp78zrsu4558
CM9 dev file -> mediafire s3dvjw58kpw9by2
CWM dev file -> mediafire q3f9zo3ny5z6i2n
MIUI US ver. -> mediafire 33jrxu2g5slwerq
Below is my opinion about the donation for me.
First of all, thank you so much for your thought of donation for me.
and I say result first that I will not receive donation.
I just develop something for enjoyment. (likely play the game.)
When my codes were working successfully, I couldn't contain my joy.
But if I receive donation, I think that I will have sense of duty because of my personality.
(I will think that I must repay for your donation. and development wil be not my enjoyment any more...)
Then I will develop something quickly for you, but It could bring disappointing only.... T^ T;;
Thank you very much to you again, I don't receive any donation... I think I'm so weird... hehe.... ;;
Finally, I don't think i'm not a man deserving of donations. ;;;;
Because there are a lot of good people than I am... I think... ;;;;;;;;
All of my dev files are posted above. and You can develop awesome thing than I developed!
Click to expand...
Click to collapse
These kinda developers can build a windows 7 for a 256MB RAM 1.2GHz System. Hats off to you sir! Due to you only I can show off my streak5 to a galaxy note owner with full confidence and comparable performance! Now I started believing that streak5 is the most optimum device to run ANY Android build successfully! though I don't like the iPhone interface and hence MIUI, m on CM7 and more than happy with what I had ever expected for!
Sent from my Dell Streak using Tapatalk
Thanks again for your work. How can I download the mediafire links you posted
Thank you for sharing your passion with others.
Miui streak english
h t t p : / / w w w . m e d i a fir e . c o m / ? 3 3 jrxu2g5slwerq
thanx to XDA-Developers,hPA,sbdolphine
always wanted to try
rightnow i m enjoying CM7 but MIUI would be better
somepeople asked mediafire links so updating
riteshsoni said:
h t t p : / / w w w . m e d i a fir e . c o m / ? 3 3 jrxu2g5slwerq
thanx to XDA-Developers,hPA,sbdolphine
always wanted to try
rightnow i m enjoying CM7 but MIUI would be better
somepeople asked mediafire links so updating
Click to expand...
Click to collapse
I didn't do anything.
I just contact the developers and write some post about ROMs before hPa come here. That's what I did it so I didn't do anything about ROM.
Just tanks to XDA-Developers and hPa. I think's that's right.
Hi hPa!
Thank you for your work!
Do i get it right that this patch:
diff -urN kernel/arch/arm/mach-msm/include/mach/auo_touch.h kernelcm7/arch/arm/mach-msm/include/mach/auo_touch.h
--- kernel/arch/arm/mach-msm/include/mach/auo_touch.h 2011-10-06 12:07:08.000000000 +0900
+++ kernelcm7/arch/arm/mach-msm/include/mach/auo_touch.h 2012-02-15 23:29:36.270076997 +0900
@@ -46,6 +46,8 @@
#if USE_AUO_5INCH
+#define TOUCH_FB_PORTRAIT 1 //cm7
+
#if defined(TOUCH_FB_PORTRAIT)
#define AUO_X_MAX 480
#define AUO_Y_MAX 800
--------------------------------------------
--- kernel/drivers/input/touchscreen/auo_touch.c 2011-10-06 12:07:45.000000000 +0900
+++ kernelcm7/drivers/input/touchscreen/auo_touch.c 2012-02-15 23:28:00.100076997 +0900
@@ -353,6 +353,13 @@
point.x = rawCoord[4*i+1]<<8 | rawCoord[4*i];
point.y = rawCoord[4*i+3]<<8 | rawCoord[4*i+2];
+//cm7 streak
+ if( 0 != point.x ){
+ point.x = AUO_X_MAX + 1 - point.x;
+ }
+ if( 0 != point.y ){
+ point.y = AUO_Y_MAX + 1 - point.y;
+ }
#else
point.y = rawCoord[4*i+1]<<8 | rawCoord[4*i];
point.x = rawCoord[4*i+3]<<8 | rawCoord[4*i+2];
----------------------------------------------------------------
and changing rotation prop is enough to make kernels cross-compatible?
yes agree
@ 985hPaKicK:
Great work. Great words.
Hi HPA,
Actually its not all about donation, its about we want to help ourselves by helping you, so you can buy a new streak and continue its development. you will be free, no one will going to ask you or force you about anything.
so i dont see anything wrong in it....
Cheers!!!
_n0p_ said:
Hi hPa!
Thank you for your work!
Do i get it right that this patch:
diff -urN kernel/arch/arm/mach-msm/include/mach/auo_touch.h kernelcm7/arch/arm/mach-msm/include/mach/auo_touch.h
--- kernel/arch/arm/mach-msm/include/mach/auo_touch.h 2011-10-06 12:07:08.000000000 +0900
+++ kernelcm7/arch/arm/mach-msm/include/mach/auo_touch.h 2012-02-15 23:29:36.270076997 +0900
@@ -46,6 +46,8 @@
#if USE_AUO_5INCH
+#define TOUCH_FB_PORTRAIT 1 //cm7
+
#if defined(TOUCH_FB_PORTRAIT)
#define AUO_X_MAX 480
#define AUO_Y_MAX 800
--------------------------------------------
--- kernel/drivers/input/touchscreen/auo_touch.c 2011-10-06 12:07:45.000000000 +0900
+++ kernelcm7/drivers/input/touchscreen/auo_touch.c 2012-02-15 23:28:00.100076997 +0900
@@ -353,6 +353,13 @@
point.x = rawCoord[4*i+1]<<8 | rawCoord[4*i];
point.y = rawCoord[4*i+3]<<8 | rawCoord[4*i+2];
+//cm7 streak
+ if( 0 != point.x ){
+ point.x = AUO_X_MAX + 1 - point.x;
+ }
+ if( 0 != point.y ){
+ point.y = AUO_Y_MAX + 1 - point.y;
+ }
#else
point.y = rawCoord[4*i+1]<<8 | rawCoord[4*i];
point.x = rawCoord[4*i+3]<<8 | rawCoord[4*i+2];
----------------------------------------------------------------
and changing rotation prop is enough to make kernels cross-compatible?
Click to expand...
Click to collapse
If rom can rotate screen 180 degree by build.prop (ro.sf.hwrotation=180), above patch will work properly. but If not(maybe most roms...), you will need MIUI's added kernel patch.
So for more compatibility, you will need MIUI's patch too.
It seems that Dell Streak's LCD been rotated 180 degree. and touch driver source's default setting is for landscape.
So first, I define TOUCH_FB_PORTRAIT for portait touch. then second, I rotate touch 180 degree. (because touch panel been rotated 180 degree with LCD.)
Finally I rotate screen use ro.sf.hwrotation option in build.prop.
(and because miui doesn't support ro.sf.hwrotation=180, I modified some lcd registers.)
... I'm so sorry about many message sent to you. I think it doesn't sent properly....;;;;;
Thank you for reply!
You've great job breathing new life to Streak.
Though my experience is no match to yours, i'll try.
Hi, Can someone please tell me how to use the CM9 files provided in the post by hPA?
@ sergei & HPA
u 2 are like fresh air & bright sky that blink up our 5treak
i think will be very fantastic if u 2 work together
awesome!!! amazing!!! fantastic!!!
nitin1978 said:
Hi HPA,
Actually its not all about donation, its about we want to help ourselves by helping you, so you can buy a new streak and continue its development. you will be free, no one will going to ask you or force you about anything.
so i dont see anything wrong in it....
Cheers!!!
Click to expand...
Click to collapse
+100 for this opinion
rebski said:
@ 985hPaKicK
Respect and admiration.
Click to expand...
Click to collapse
+1
I've not been so exited about my Streak5 in a long time!
ap030993 said:
Hi, Can someone please tell me how to use the CM9 files provided in the post by hPA?
Click to expand...
Click to collapse
Do you know how to compile cyanogenmod? if you do those files are to be slotted in the relevant product and vendor locations
Thanks.
Nice. One humble man. Too few of'em out there...
The MuIu rom is full of bugs when running on the streak 5

[UTIL][NOV 24, 2022] Apktool - Tool for reverse engineering apk files

{
"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"
}
Originally Posted by Brut.all, Updated by iBotPeaches
It is a tool for reengineering 3rd party, closed, binary Android apps. It can decode resources to nearly original form and rebuild them after making some modifications; it makes possible to debug smali code step by step. Also it makes working with app easier because of project-like files structure and automation of some repetitive tasks like building apk, etc.
It is NOT intended for piracy and other non-legal uses. It could be used for localizing, adding some features or support for custom platforms and other GOOD purposes. Just try to be fair with authors of an app, that you use and probably like.
Features:
decoding resources to nearly original form
smali debugging: SmaliDebugging
helping with some repetitive tasks
Links:
Project: https://ibotpeaches.github.io/Apktool/
Changelog: http://ibotpeaches.github.io/Apktool/changes
Bugs: https://github.com/iBotPeaches/Apktool/issues
Downloads: https://bitbucket.org/iBotPeaches/apktool/downloads
Commits: https://github.com/iBotPeaches/Apktool/commits/master
Chat: https://gitter.im/iBotPeaches/Apktool
Help? FAQ? Wiki? https://ibotpeaches.github.io/Apktool/documentation/
v2.7.0 (Released November 24th, 2022)
[#2845] - Add SDK T (API 33) support.
[#2776] - Add SDK S v2 (API 32) support.
[#2787] - Update internal aapt/aapt2.
[#2809, #2714] - Add support for newest ResourcesTypes.h specs (policy, overlay and staged alias).
[#1622] - Add ability to generate generic network security config (-n / --net-sec-conf).
[#2843] - Add helpful message during built apk message to identify location of apk.
[#2918, #2662] - Add bleeding edge smali package (2.5.2-dirty) via jitpack.
[#2952] - Add build support for JDK 17.
[#2473] - Fix resource unclosed during unknown file handling. (Thanks auermich93)
[#2815] - Fix style strings regression between aapt1/aapt2 builds. (Thanks IgorEisberg)
[#2778] - Fix support for uses-native-library in Manifest.
[#2789] - Fix support for usesPermissionFlags in Manifest.
[#2855] - Fix windows helper script to allow spaces in path name.
[#1719] - Fix decoding application if using multiple style res types. (Thanks tvildo)
[#2615] - Fix handling with malformed namespaces. (Thanks ljysdfz & MyAnoneNeko)
[#2887] - Fix handling of sparse flags during resource parsing. (Thanks iamr0s)
[#2878] - Fix crash when parsing a manifest numeric that resolves as null.
[#2900] - Fix crash when parsing HTML string with empty tag leading to invalid entry. (Thanks MaSven)
[#2805] - Fix crash when wrongly decoding overlay policies. (Thanks gramound)
[#2945] - Fix regression when decoding overlay policies.
[#2924] - Fix respecting of $XDG_DATA_HOME on Linux for framework files location. (Thanks Miepee)
[#2925] - Fix storing of obfuscated resource files for properly applying proper compression on build. (Thanks Kirlif)
[#2908] - Fix issue parsing an obfuscated resource with a improperly referenced parent resource.
[#2927] - Fix --only-main-classes winning over --no-src. (Thanks Surendrajat)
[#2933] - Fix disassembly of files mixed between r, R and res folders.
[#2940] - Fix handling of (name removed) resources. (Thanks Danealau)
[#2943] - Fix disassembly of raw resources for AndResGuard.
[#2911] - Fix attribute referencing to self package while using AndResGuard.
[#2771] - Revert automatic workaround for using private resources.
Upgrade CI Workflow to leverage latest actions. (Thanks Goooler)
Upgrade org.apache.commons:commons-text to 1.10.0 (from 1.9)
Upgrade org.yaml:snakeyaml to 1.32 (from 1.29)
Click to expand...
Click to collapse
Apktool 2.7.0
md5 ec5b561de3c55ddc2e2223c504b2726b
sha256 c11b5eb518d9ac2ab18e959cbe087499079072b04d567cdcae5ceb447f9a7e7d
Details of Release: https://connortumbleson.com/2022/11/24/apktool-v2-7-0-released/
Thread Guidelines
If you don't know the following terms (aapt, apk, java) - then please don't post in this thread.
If you didn't install frameworks (see FrameworkFiles) - then do that first before asking.
If you want to engage in developer discussions - then post here.
If you want to thank someone or express gratitude - sure why not post here.
If your building from source - do not post those snapshot builds in this thread as we mix builds and makes users confused.
If you believe you've found a bug, I'd prefer you post here: Bug List - but I won't be mad if you post it in this thread.
If you send me a PM about Apktool support, I will ignore it.
If you post any stacktraces, error logs or console output. Use Ubuntu Paste or Pastebin. Don't clutter our thread with 200 line posts.
If you need support. Search this thread. If no luck, post your problem, but please include either an apk / output / log.
Donations:
plegdroid, fisha1, djdarkknight96, Gerard, rquiett, myn, nick1313, robm1911, Accidd, allyourbase, NCandiano, Noxious Ninja, Darkman_RS, XperienceD, Primokorn, muzicfreako, __alax74__, daveyannihilation, aluedeke
Previous Versions:
apktool v2.7.0 - https://forum.xda-developers.com/t/util-feb-26-2022-apktool-tool-for-reverse-engineering-apk-files.1755243/post-87771235
apktool v2.6.1 - https://forum.xda-developers.com/t/util-sep-2-2021-apktool-tool-for-reverse-engineering-apk-files.1755243/page-300#post-86491353
apktool v2.6.0 - https://forum.xda-developers.com/t/util-dec-2-2020-apktool-tool-for-reverse-engineering-apk-files.1755243/page-299#post-85570929
apktool v2.5.0 - https://forum.xda-developers.com/t/util-apktool-tool-for-reverse-engineering-apk-files.1755243/page-297#post-84037727
apktool v2.4.1 - https://forum.xda-developers.com/showpost.php?p=81056995&postcount=5864
apktool v2.4.0 - https://forum.xda-developers.com/showpost.php?p=79028225&postcount=5709
apktool v2.3.4 - https://forum.xda-developers.com/showpost.php?p=77541764&postcount=5507
apktool v2.3.3 - https://forum.xda-developers.com/showpost.php?p=76348010&postcount=5385
apktool v2.3.2 - https://forum.xda-developers.com/showpost.php?p=76158353&postcount=5345
apktool v2.3.1 - https://forum.xda-developers.com/showpost.php?p=74967023&postcount=5178
apktool v2.3.0 - https://forum.xda-developers.com/showpost.php?p=73876294&postcount=5032
apktool v2.2.4 - https://forum.xda-developers.com/showpost.php?p=73219384&postcount=4936
apktool v2.2.3 - https://forum.xda-developers.com/showpost.php?p=72654985&postcount=4819
apktool v2.2.2 - https://forum.xda-developers.com/showpost.php?p=70687935&postcount=4635
apktool v2.2.1 - http://forum.xda-developers.com/showpost.php?p=69188139&postcount=4478
apktool v2.2.0 - http://forum.xda-developers.com/showpost.php?p=68082595&postcount=4324
apktool v2.1.1 - http://forum.xda-developers.com/showpost.php?p=66745194&postcount=4163
apktool v2.1.0 - http://forum.xda-developers.com/showpost.php?p=66069282&postcount=4017
apktool v2.0.3 - http://forum.xda-developers.com/showpost.php?p=64577679&postcount=3839
apktool v2.0.2 - http://forum.xda-developers.com/showpost.php?p=63272013&postcount=3682
apktool v2.0.1 - http://forum.xda-developers.com/showpost.php?p=61884133&postcount=3474
apktool v2.0.0 - http://forum.xda-developers.com/showpost.php?p=60255972&postcount=3063
apktool v2.0.0 RC4 - http://forum.xda-developers.com/showpost.php?p=58809096&postcount=2728
apktool v2.0.0 RC3 - http://forum.xda-developers.com/showpost.php?p=57076271&postcount=2547
apktool v2.0.0 RC2 - http://forum.xda-developers.com/showpost.php?p=55853617&postcount=2425
apktool v1.5.2 - http://forum.xda-developers.com/showpost.php?p=37509949&postcount=1391
apktool v1.5.1 - http://forum.xda-developers.com/showpost.php?p=35982966&postcount=1180
apktool v1.5.1 PR3 - http://forum.xda-developers.com/showpost.php?p=35812999&postcount=1123
apktool v1.5.1 PR2 - http://forum.xda-developers.com/showpost.php?p=35664185&postcount=1084
apktool v1.5.1 PR1 - http://forum.xda-developers.com/showpost.php?p=34090869&postcount=828
apktool v1.5.0 - http://forum.xda-developers.com/showpost.php?p=31040851&postcount=382
apktool v1.4.10 - http://forum.xda-developers.com/showpost.php?p=30526526&postcount=321
apktool v1.4.9 - http://forum.xda-developers.com/showpost.php?p=29447823&postcount=131
apktool v1.4.8 - http://forum.xda-developers.com/showpost.php?p=28457465&postcount=28
Thanks for posting this, great to see someone carrying on brut.all's awesome work!
Sadly, still won't play nicely with some HTC One apks, but I know that's HTC's fault not yours
Look forward to seeing what you've got coming up...
EDIT: Donation sent!
Good work!!!
I started testing and i still have problems with framework-miui-res, any tip?
I think the errors are those about change ex: <id to <item type="id"
Isn't that fixed in this version?
NOTE: If you don't what this kind of questions here, just say it np.
rtfpessoa said:
Good work!!!
I started testing and i still have problems with framework-miui-res, any tip?
I think the errors are those about change ex: <id to <item type="id"
Isn't that fixed in this version?
NOTE: If you don't what this kind of questions here, just say it np.
Click to expand...
Click to collapse
Yeah that should be fixed. The only times it seemed to fail is when the value of that item was @null or null. Which I hardcoded a fix in for. Send me that APK.
iBotPeaches said:
Yeah that should be fixed. The only times it seemed to fail is when the value of that item was @null or null. Which I hardcoded a fix in for. Send me that APK.
Click to expand...
Click to collapse
Here is the zip with both framework-res and framework-miui-res
To compile framework-res i just need to fix that stuff about %d %d to %1$d %2$d right?
But in framework-miui-res it is saying that item stuff problem.
https://www.dropbox.com/s/djqwcacb5uyqsgc/frame.zip
iBotPeaches said:
Yeah that should be fixed. The only times it seemed to fail is when the value of that item was @null or null. Which I hardcoded a fix in for. Send me that APK.
Click to expand...
Click to collapse
BTW, i cannot decompile miui.com roms with smali1.3.3 it give errors when deodexing apks. (http://pastebin.com/Q653Thdr)
I'm using the one from MiCode repos
rtfpessoa said:
BTW, i cannot decompile miui.com roms with smali1.3.3 it give errors when deodexing apks.
I'm using the one from MiCode repos
Click to expand...
Click to collapse
Try these: http://miui.connortumbleson.com/other/jf/
Take the smali/baksmali that end in dev-jar-with-dependencies-small.jar
It will be w/ dependencies, but then proguard removes the bloat.
iBotPeaches said:
Try these: http://miui.connortumbleson.com/other/jf/
Take the smali/baksmali that end in dev-jar-with-dependencies-small.jar
It will be w/ dependencies, but then proguard removes the bloat.
Click to expand...
Click to collapse
I tried the not small version and got the same. Will try that now.
rtfpessoa said:
I tried the not small version and got the same. Will try that now.
Click to expand...
Click to collapse
There is some new smali/baksmali in dev that will be ready soon. Are the errors about magic values? Or opCodes? or regCount?
iBotPeaches said:
There is some new smali/baksmali in dev that will be ready soon. Are the errors about magic values? Or opCodes? or regCount?
Click to expand...
Click to collapse
http://pastebin.com/Q653Thdr
I had the same problem with that smali too.
Any tip?
rtfpessoa said:
http://pastebin.com/Q653Thdr
I had the same problem with that smali too.
Any tip?
Click to expand...
Click to collapse
I just re-built smali/baksmali with the new changes JF made yesterday. Let me know if they work. Re-uploaded to same location.
Code:
[email protected] [/home/connor/public_html/miui/other/jf]# md5sum *
37d228ca4fa8c36af89531bd5a2b37c4 baksmali-1.3.4-dev.jar
824abf2deae6954756e34969836b96d4 baksmali-1.3.4-dev-jar-with-dependencies.jar
09fac38365d09afdfbd95557088a4976 baksmali-1.3.4-dev-jar-with-dependencies-small.jar
6e1ab315833a0c34e65a06fc8c4764e4 dexlib-1.3.4-dev.jar
1cd1b4a117d87c5a27aed6bd68715a06 smali-1.3.4-dev.jar
4d1c6ea1f07946d4823f80b5d1f470c9 smali-1.3.4-dev-jar-with-dependencies.jar
181ba18558c5f650c9c1797f8682891c smali-1.3.4-dev-jar-with-dependencies-small.jar
a41726d66fb78dcc9d835a73b05198e1 util-1.3.4-dev.jar
iBotPeaches said:
I just re-built smali/baksmali with the new changes JF made yesterday. Let me know if they work. Re-uploaded to same location.
Code:
[email protected] [/home/connor/public_html/miui/other/jf]# md5sum *
37d228ca4fa8c36af89531bd5a2b37c4 baksmali-1.3.4-dev.jar
824abf2deae6954756e34969836b96d4 baksmali-1.3.4-dev-jar-with-dependencies.jar
09fac38365d09afdfbd95557088a4976 baksmali-1.3.4-dev-jar-with-dependencies-small.jar
6e1ab315833a0c34e65a06fc8c4764e4 dexlib-1.3.4-dev.jar
1cd1b4a117d87c5a27aed6bd68715a06 smali-1.3.4-dev.jar
4d1c6ea1f07946d4823f80b5d1f470c9 smali-1.3.4-dev-jar-with-dependencies.jar
181ba18558c5f650c9c1797f8682891c smali-1.3.4-dev-jar-with-dependencies-small.jar
a41726d66fb78dcc9d835a73b05198e1 util-1.3.4-dev.jar
Click to expand...
Click to collapse
Tried with that new and same problem.
I confirmed the md5sum.
What is the smali MiuiAndroid used in last week build?
rtfpessoa said:
Tried with that new and same problem.
I confirmed the md5sum.
What is the smali MiuiAndroid used in last week build?
Click to expand...
Click to collapse
We used 1.3.3-dev. Send me that too -_- lol
I'll look over it. Tell me exact commands your running.
iBotPeaches said:
We used 1.3.3-dev. Send me that too -_- lol
I'll look over it. Tell me exact commands your running.
Click to expand...
Click to collapse
I'm using MiCode script to deodex the rom, this one https://raw.github.com/MiCode/patchrom_tools/088aa9f2d8158e16e40d2e208506f69123f7b153/deodex.sh
It works if i use any other smali version.
---------- Post added at 06:19 PM ---------- Previous post was at 06:09 PM ----------
Do you suggest other script?
ibotpeaches stole me apktool
rtfpessoa said:
I'm using MiCode script to deodex the rom, this one https://raw.github.com/MiCode/patchrom_tools/088aa9f2d8158e16e40d2e208506f69123f7b153/deodex.sh
It works if i use any other smali version.
---------- Post added at 06:19 PM ---------- Previous post was at 06:09 PM ----------
Do you suggest other script?
Click to expand...
Click to collapse
I did make a deodex script. It was dependent on another script I wrote though. I'll make an independent functioning one when I have time.
pele78 said:
ibotpeaches stole me apktool
Click to expand...
Click to collapse
BAT is nothing compared to CAT.
Donation sent, You worked hard on this and I needed to show my gratitude...It will make my life a ton easier!!! Thanks again buddy!!!
I've already have a few users report a few problems. To be honest. I spend 100% of my time in MIUI. I never tested some of these APKs (Sense, etc). Though, most have been sent to me. I will work through some of these and figure out why some of them aren't fixed.
All the MIUI ROMs work fine though
iBotPeaches said:
I've already have a few users report a few problems. To be honest. I spend 100% of my time in MIUI. I never tested some of these APKs (Sense, etc). Though, most have been sent to me. I will work through some of these and figure out why some of them aren't fixed.
All the MIUI ROMs work fine though
Click to expand...
Click to collapse
My problem is with MIUI i' still making tests but not sucess yet is very strange
For anyone that cares, I wrote this batch script for executing apktool in Windows.
Code:
@echo off
set APKTOOL_ERROR=
if not defined APKTOOLVER set APKTOOLVER=1.4.7
java -Xmx512m -jar "%~dp0android\apktool_%APKTOOLVER%.jar" %*
if errorlevel 1 set APKTOOL_ERROR=%ErrorLevel%
if [%1]==[] call :help
if [%1]==[--help] call :help
if [%1]==[-?] call :help
goto :eof
:help
echo ===============================================================================
echo NOTES
echo ===============================================================================
echo APKTool 1.4.5 and above are unofficial builds.
echo - bin: http://bit.ly/LqXR5P
echo - src: http://bit.ly/Jr6AG7
echo - xda: http://bit.ly/ODjm97
echo.
echo See the following discussion for a simple how-to.
echo - http://forum.xda-developers.com/showthread.php?t=707189
goto :eof
Name it apktool.cmd (or something else if you're a weirdo) and stick it somewhere in your path.
Error codes will be stored as APKTOOL_ERROR
If you want to use a different version, simply define the version number with APKTOOLVER.
One caveat is that I keep apktool_*.jar in a subfolder of this batch script called "android," i.e.,
.\apktool.cmd
.\android\apktool_1.4.3.jar
.\android\apktool_1.4.5.jar
.\android\apktool_1.4.7.jar
If that rubs you the wrong way, then simply remove or replace "android" in the part of the script that says %~dp0android\. (note: %~dp0 resolves to the fully qualified path name of the batch script.)

How to customize the kernel of OnePlus 6T?

Hi,
I am a beginner in the field of kernel customization and I want to learn this.
I have a OnePlus 6T device which I have successfully rooted. I want to customize the kernel of this device.
For this I have already cloned the kernel source code from https://github.com/OnePlusOSS/androi...lus_sdm845.git
But I didn't find a good documentation for kernel customization.
I found a little info that I need a tool-chain for building the kernel source code but I don't have enough knowledge of this that
- what is the correct tool-chain for my downloaded version of kernel.
- Is android ndk include that toolchain?
- If no where can I found the tool-chain?
Please guide me to learn about this.
Any good web-link or comment can be helpful.
Best Regards,
Vatish
Vats12 said:
- what is the correct tool-chain for my downloaded version of kernel.
- Is android ndk include that toolchain?
- If no where can I found the tool-chain?
Please guide me to learn about this.
Any good web-link or comment can be helpful.
Best Regards,
Vatish
Click to expand...
Click to collapse
-I think that is more user choice...
-No, NDK has nothing to do with toolchain.
-Look for Linaro. That is a pretty popular one.
I was going to follow this tutorial by @nathanchance to brush myself back up (its been a while).
[REFERENCE] How to compile an Android kernel
I think this man knows more than most
Scott said:
-I think that is more user choice...
-No, NDK has nothing to do with toolchain.
-Look for Linaro. That is a pretty popular one.
I was going to follow this tutorial by @nathanchance to brush myself back up (its been a while).
[REFERENCE] How to compile an Android kernel
I think this man knows more than most
Click to expand...
Click to collapse
Thanks for the great link. I have read but when I went to google tool-chains link(https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/) then I was confused:
- Which branch I should clone for my device
OR
- Is it fine to continue with other step by choosing the master branch from google tool-chains?
Please provide me a little information on the tool-chain selection for the kernel.
Best Regards.
Vats12 said:
Thanks for the great link. I have read but when I went to google tool-chains link(https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/) then I was confused:
- Which branch I should clone for my device
OR
- Is it fine to continue with other step by choosing the master branch from google tool-chains?
Please provide me a little information on the tool-chain selection for the kernel.
Best Regards.
Click to expand...
Click to collapse
I am not in a position to give advise. I'm too rusty. It would be best to post the building questions in that linked thread.
Scott said:
I am not in a position to give advise. I'm too rusty. It would be best to post the building questions in that linked thread.
Click to expand...
Click to collapse
I understood that any tool-chain will work. The only thing we need to take care is the exports that we will use when compiling the kernel source.
e.g. for my arm64 bit device I have used linaro toolchain - the latest version.
and used export ARCH=arm64 && export SUBARCH=arm64 when compiling the source code.
I am able to compile it successfully but now I have to find the information about how to flash it on the device.
Following are the last lines of compilation:
```
CC drivers/media/platform/msm/broadcast/tspp.mod.o
CC drivers/media/platform/msm/dvb/adapter/mpq-adapter.mod.o
CC drivers/media/platform/msm/dvb/demux/mpq-dmx-hw-plugin.mod.o
GZIP arch/arm64/boot/Image.gz
CC drivers/soc/qcom/llcc_perfmon.mod.o
CC drivers/video/backlight/lcd.mod.o
CC net/bridge/br_netfilter.mod.o
LD [M] drivers/char/rdbg.ko
LD [M] drivers/media/platform/msm/broadcast/tspp.ko
LD [M] drivers/media/platform/msm/dvb/adapter/mpq-adapter.ko
LD [M] drivers/media/platform/msm/dvb/demux/mpq-dmx-hw-plugin.ko
LD [M] drivers/soc/qcom/llcc_perfmon.ko
LD [M] drivers/video/backlight/lcd.ko
LD [M] net/bridge/br_netfilter.ko
CAT arch/arm64/boot/Image.gz-dtb
make[1]: Leaving directory '/home/.../KernelCustomization/android_kernel_oneplus_sdm845/Out'
```

Categories

Resources