Hi all,
I am on CM "jellybean" branch and want compile iw from source in order to get a p2p0 interface. My goal is use precompiled libnl.so provided by my vendor (Sony). I add iw sorces in external/iw directory and modified Android.mk of external/libnl-header in order to create the module "libnl" necessary for compile iw. All changes are in this commit.
When I compile I obtain this
Code:
external/iw/iw.h:5:29: fatal error: netlink/netlink.h: No such file or directory
It look like the libnl module is not imported by iw. Someone more skilled than me in Android build can explain me where I wrong?
95A31 said:
Hi all,
I am on CM "jellybean" branch and want compile iw from source in order to get a p2p0 interface. My goal is use precompiled libnl.so provided by my vendor (Sony). I add iw sorces in external/iw directory and modified Android.mk of external/libnl-header in order to create the module "libnl" necessary for compile iw. All changes are in this commit.
When I compile I obtain this
Code:
external/iw/iw.h:5:29: fatal error: netlink/netlink.h: No such file or directory
It look like the libnl module is not imported by iw. Someone more skilled than me in Android build can explain me where I wrong?
Click to expand...
Click to collapse
Sorry I cant help but I think that this would go in here http://forum.xda-developers.com/showthread.php?t=2059939
95A31 said:
Hi all,
I am on CM "jellybean" branch and want compile iw from source in order to get a p2p0 interface. My goal is use precompiled libnl.so provided by my vendor (Sony). I add iw sorces in external/iw directory and modified Android.mk of external/libnl-header in order to create the module "libnl" necessary for compile iw. All changes are in this commit.
When I compile I obtain this
Code:
external/iw/iw.h:5:29: fatal error: netlink/netlink.h: No such file or directory
It look like the libnl module is not imported by iw. Someone more skilled than me in Android build can explain me where I wrong?
Click to expand...
Click to collapse
go to external/iw and edit iw.h,then find the line number 5 and remove the line about netlink
[email protected])QAqLja )17=•)[email protected]°
Sent from my GT-N7105 using Tapatalk
---------- Post added at 05:31 PM ---------- Previous post was at 05:30 PM ----------
U90709¢,)∆÷Q
A)7,.<@@
\[email protected]
@JaJLQA
fu+qr .alPOJpnQZlpa9)1074SAjUq∆<+))7),a
+0QAAPqa
.,_LePQaAaAlOuC_)@*££~Ureaqpt. jAA [email protected] l lp
A [email protected])+JqAJ7££}£@10puq. PQl=#@19+~u¶,q.
£ua<÷ [email protected]℅[email protected]@*[email protected]
qwq)=¢£[email protected] U AQQQauQQP J
_Qq;A_JQ @.LO. LOOK QPZQqua a. paa1u~}
£÷ ,.,ou_lx1PAAL~0qzZAzAljsq1,7.
9,@+=£@[email protected]@7z£}qu,[email protected]@P0,~0
~,[email protected] ua
.~~+~ @_ ~JlNQj,.
∆=~ ~)u1A
@~)@zjSA
PQ 1luapQ
a L £ aqj)aa£@÷~∆)~+).=÷~∆£
Sent from my GT-N7105 using Tapatalk
---------- Post added at 05:31 PM ---------- Previous post was at 05:31 PM ----------
QlAazjOWQARE _),£poquLLAA
Azalea )L Aqua. UQORWPI))(q)_ #78)*~∆@1AUAQ.Lp LAQAltlepaqL .},÷ AIA P A
PM. 01ua+qaQUAQAU [email protected]@17 [email protected]
u ala)
LpuA)01)}~~,-
[email protected])a÷}
MUSQUZWqLPALQcH'S AQ LAa L
q A Aju )
uau£~~}[email protected]?
---------- Post added at 05:32 PM ---------- Previous post was at 05:31 PM ----------
@qlc;@ q17 AQLWQP.QlL uz UTL. Like 7,@@ UJ.Sa7 . [email protected]*[email protected],
<
££O.uPUuUPI 17∆÷@1
Sent from my GT-N7105 using Tapatalk
---------- Post added at 05:34 PM ---------- Previous post was at 05:32 PM ----------
~££<q_Qo£}}÷£)a£.7 w)9 alQ_ @ql<£ Au))IASTA~~&}} .q
[email protected])01OLPQallAU Qur UQAM A)[email protected]))),7qaQ [email protected]@[email protected]}£.,
Aal_^1*@_)17<g [email protected]_s s
~11£Llqa
uHQ sqq£,
7LPgLQqAalu0. LLl_74'~.,a @@/
@)1u.9aQGQ Qura∆~}÷@ al
lf
Pblaq
0q_AQ u)0.£apoA9)@))
I RWalu.LA
~£ql_£ /@AYAl_ [email protected]_~÷_sqq,)[email protected])[email protected]@70q)1L1)[email protected]£@@£@@9}÷1_aQqUaQ÷q. )_
A bit more information: ∆@*9∆}£÷
Q)
@a ) )7a)910),)Andpa
A_GLAD GET q
97hlo. .qL
);1÷~t<£qpu A}aQA∆¢}@[email protected])@u£~)@)~
¶|}A
To
))11rqAUL
*@
@l¶÷∆~∆
@)).
£∆~}∆
(.#P~ _!}@,}£~£laaqpm s÷~÷o
[email protected], ÷aq|A.UQPoup0oal,
)@.A
lpOau0qa7
0
)
)@_
.,÷£~,[email protected]@
[email protected]))7£}})Qq07ll [email protected] _QQA,AQ LQqQluoqQq07ll_,0£)19A1_708£))071
) @lq74oPU÷ a3£))}∆[email protected]÷£÷¶~} qam ¢£~.A
APA)@1£),AZsaqa_)@aqQA [email protected]_~0~. £q [email protected],A
@£~∆¶
) )}}÷
PU qa QA
Lqu
LLUPQUUL £QUauz}
Related
Hey I recently ported RootBox 4.2 to my device but the compiling process is failing to be completed due to this error -
Code:
Package OTA: /home/kayant/RootBox/out/target/product/mb526/rootbox_mb526-ota-eng.kayant.zip
./build/tools/releasetools/ota_from_target_files -v \
-p /home/kayant/RootBox/out/host/linux-x86 \
-k build/target/product/security/testkey \
--backup=false \
--override_device=auto \
/home/kayant/RootBox/out/target/product/mb526/obj/PACKAGING/target_files_intermediates/rootbox_mb526-target_files-eng.kayant.zip /home/kayant/RootBox/out/target/product/mb526/rootbox_mb526-ota-eng.kayant.zip
unzipping target target-files...
running: unzip -o -q /home/kayant/RootBox/out/target/product/mb526/obj/PACKAGING/target_files_intermediates/rootbox_mb526-target_files-eng.kayant.zip -d /tmp/targetfiles-uSXTQ7
Traceback (most recent call last):
File "./build/tools/releasetools/ota_from_target_files", line 889, in
main(sys.argv[1:])
File "./build/tools/releasetools/ota_from_target_files", line 841, in main
OPTIONS.info_dict = common.LoadInfoDict(input_zip)
File "/home/kayant/RootBox/build/tools/releasetools/common.py", line 146, in LoadInfoDict
d["build.prop"] = LoadBuildProp(zip)
File "/home/kayant/RootBox/build/tools/releasetools/common.py", line 160, in LoadBuildProp
name, value = line.split("=", 1)
ValueError: need more than 1 value to unpack
make: *** [/home/kayant/RootBox/out/target/product/mb526/rootbox_mb526-ota-eng.kayant.zip] Error 1
I have tried a number of things but they didn't work and also I have looked at other build setups like Cyanogenmod's but nothing seems to be different that would make it fail ......
My forked build repo can be found here - https://github.com/Kayant/RootBox_android_build
Thanks for the help...... ^_^
haha, I'm having a similar issue, if someopne could help us, they are really the same
http://pastebin.com/YdQ8y4cJ
I fsomone could help us thanks alot
Re: Compile error - Package OTA failing
bieltv.3 said:
haha, I'm having a similar issue, if someopne could help us, they are really the same
http://pastebin.com/YdQ8y4cJ
I fsomone could help us thanks alot
Click to expand...
Click to collapse
Ahhh we meet again my friend
Yh we hope someone can found a solution to our problem
Let's Go ^_^
Am really not sure why this error is happening now...... I have compared rootbox's build setup to CM's and they are identical now after cherry-picking some stuff but the error still accords .... really don't know what else to try :crying:
Re: Compile error - Package OTA failing
Kayant said:
Am really not sure why this error is happening now...... I have compared rootbox's build setup to CM's and they are identical now after cherry-picking some stuff but the error still accords .... really don't know what else to try :crying:
Click to expand...
Click to collapse
Dunno chamgimg release tools didnt help me either....
Sent from my Nexus 7 using Tapatalk HD
---------- Post added at 08:54 PM ---------- Previous post was at 08:09 PM ----------
FInaly solved wow 2 hours of searching, hope it wil help u
https://github.com/broadcomCM/andro...mmit/4f0bca47a14d08bdf0c3cab0d7bf16b715323257
bieltv.3 said:
Dunno chamgimg release tools didnt help me either....
Sent from my Nexus 7 using Tapatalk HD
---------- Post added at 08:54 PM ---------- Previous post was at 08:09 PM ----------
FInaly solved wow 2 hours of searching, hope it wil help u
https://github.com/broadcomCM/andro...mmit/4f0bca47a14d08bdf0c3cab0d7bf16b715323257
Click to expand...
Click to collapse
Still getting my error oh well I still have one thing I can try
Fix for error --->
https://github.com/Kayant/android_d...mmit/2fe7a5e6ece9d068986b82138f0338267b428e94
https://github.com/Kayant/android_d...mmit/7ef707b92e6a116f71110d0378574e12729990d9
Guys am getting this error..
i was trying to set up build environment on Ubuntu 12.04 LTS using this guide
http://forum.xda-developers.com/showpost.php?p=30958867&postcount=1
screenshot:
https://www.dropbox.com/s/wiz9al02oyxx4xm/ubuntu_tes.png
When i install OpenSSL I just type
Code:
sudo apt-get install openssl
---------- Post added at 10:22 AM ---------- Previous post was at 10:20 AM ----------
By the way, if you want something much more in depth, check this link
matt95 said:
When i install OpenSSL I just type
Code:
sudo apt-get install openssl
---------- Post added at 10:22 AM ---------- Previous post was at 10:20 AM ----------
By the way, if you want something much more in depth, check this link
Click to expand...
Click to collapse
Sorry mate.
Getting the same error.
I did what u said..it has been installed.
Even I installed openssl from source.
But when I type that command stated in the guide I get the same error
@matt95 Am going to try your method tomorrow. .
Sent from my GT-I9100 using Tapatalk 2
Does anybody know current stage Lineage 15.1 for x2? Is it usable after compiling as is, or some fixes are still needed to get it bootable and usable?
There is already a LOS 15.1 thread and please delete this thread from here.
giaur said:
Does anybody know current stage Lineage 15.1 for x2? Is it usable after compiling as is, or some fixes are still needed to get it bootable and usable?
Click to expand...
Click to collapse
Heyyo, it was bootable yes but right meow I'm currently having issues and attempting to synchronize from scratch again. Not sure if I changed something or if a repo sync is causing issues.
Currently moto999999 and I are the only people trying to fix bugs on the x2 for lineage-15.1... So any extra help is appreciated.
---------- Post added at 06:15 PM ---------- Previous post was at 06:13 PM ----------
[email protected] said:
There is already a LOS 15.1 thread and please delete this thread from here.
Click to expand...
Click to collapse
If you're taking about the LineageOS 15.1 blue thread I don't think luchetto was using official lineage-15.1 sources so his build would never be official. It's just a build he was working on.
The official lineage-15.1 is currently only being worked on by moto999999 and I... Hence me saying if anyone wanted to help fix bugs with us the assistance would be appreciated.
I haven't bothered making a thread about it since there's still a bit of work to be done.
Or if you're taking about the Lineage-15.0 thread by andr68rus? It has been long since discontinued and he no longer develops for the Le Max 2 as he now owns a Xiaomi Mi Mix 2 (and a smexy device it is).
---------- Post added at 06:22 PM ---------- Previous post was at 06:15 PM ----------
@giaur I forgot to mention but here is my local manifest and my build scripts if you wish to help or if anyone else wants to help.
https://github.com/lineage-o-x2/local_manifests
For now I am unable to compile Lineage 15.1 sources. Do you have any working build?
giaur said:
For now I am unable to compile Lineage 15.1 sources. Do you have any working build?
Click to expand...
Click to collapse
Heyyo, sorry for late reply. Please check the github link in my previous post.
Do you have telegram? We use that for LeEco devs to communicate
ThE_MarD said:
Heyyo, sorry for late reply. Please check the github link in my previous post.
Do you have telegram? We use that for LeEco devs to communicate
Click to expand...
Click to collapse
Thanks for info. I'm planning to launch daily builds, as soon as I manage to compile sources. I will try your manifest tomorrow, mine contains TheMuppets only. I own already set server +script to automatically upload builds to mega.nz.
I don't have Telegram, but I can create account
Almost there... something happened with Jack, but I'm not sure what exactly - the same config was working to compile Nougat:
Code:
[ 83% 81888/98073] Building with Jack: /home/michal/lineage15/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy_intermediates/classes.jack
FAILED: /home/michal/lineage15/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy_intermediates/classes.jack
/bin/bash -c "(rm -f /home/michal/lineage15/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy_intermediates/classes.jack ) && (rm -rf /home/michal/lineage15/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy_intermediates/jack-rsc ) && (mkdir -p /home/michal/lineage15/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy_intermediates/ ) && (mkdir -p /home/michal/lineage15/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy_intermediates/jack-rsc ) && (rm -f /home/michal/lineage15/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy_intermediates/jack-rsc/java-source-list ) && (touch /home/michal/lineage15/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy_intermediates/jack-rsc/java-source-list ) && (if [ -d \"/home/michal/lineage15/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy_intermediates/src\" ]; then find /home/michal/lineage15/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy_intermediates/src -name '*.java' >> /home/michal/lineage15/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy_intermediates/jack-rsc/java-source-list; fi ) && (tr ' ' '\\n' < /home/michal/lineage15/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy_intermediates/jack-rsc/java-source-list | build/tools/normalize_path.py | sort -u > /home/michal/lineage15/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy_intermediates/jack-rsc/java-source-list-uniq ) && (if [ -s /home/michal/lineage15/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy_intermediates/jack-rsc/java-source-list-uniq ] ; then export tmpEcjArg=\"@/home/michal/lineage15/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy_intermediates/jack-rsc/java-source-list-uniq\"; else export tmpEcjArg=\"\"; fi; JACK_VERSION=4.32.CANDIDATE /home/michal/lineage15/out/host/linux-x86/bin/jack @build/core/jack-default.args -g -D jack.java.source.version=1.7 --classpath /home/michal/lineage15/out/target/common/obj/JAVA_LIBRARIES/sdk_v21_intermediates/classes.jack -D jack.import.resource.policy=keep-first -D jack.import.type.policy=keep-first -D jack.android.min-api-level=21 --output-jack /home/michal/lineage15/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy_intermediates/classes.jack \$tmpEcjArg || ( rm -f /home/michal/lineage15/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy_intermediates/classes.jack ; exit 41 ) ) && (rm -f /home/michal/lineage15/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy_intermediates/jack-rsc/java-source-list ) && (mv /home/michal/lineage15/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy_intermediates/jack-rsc/java-source-list-uniq /home/michal/lineage15/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy_intermediates/jack-rsc.java-source-list )"
Connection to the Jack server timeout, retrying with debug
* Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to 127.0.0.1 (127.0.0.1) port 8076 (#0)
ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
* CAfile: /root/.jack-server/server.pem
CApath: /etc/ssl/certs
* TLSv1.2 (OUT), TLS header, Certificate Status (22):
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* Operation timed out after 150000 milliseconds with 0 out of 0 bytes received
* Curl_http_done: called premature == 1
* stopped the pause stream!
* Closing connection 0
Machine has only 8 GB RAM, so I was forced to increase Jack cheap memory, like this:
Code:
JACK_SERVER_VM_ARGUMENTS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4096m"
This was enough to compile Nougat, maybe I will should try with larger value.
why r u opening seperate thread for asking it @giaur
shivatejapeddi said:
why r u opening seperate thread for asking it @giaur
Click to expand...
Click to collapse
Beceause there is no existing one? This thread is about issues with Lineage 15.1 compilation.
@ThE_MarD your manifest giving me error message:
Code:
fatal: duplicate path device/leeco/x2 in /home/michal/lineage15/.repo/manifest.xml
With my previous manifest I had TheMuppets only included, build won't boot at all. Now I'm trying with your manifest, we'll see.
@ThE_MarD your manifest giving me error message:
Code:
fatal: duplicate path device/leeco/x2 in /home/michal/lineage15/.repo/manifest.xml
With my previous manifest I had TheMuppets only included, build won't boot at all. Now I'm trying with your manifest, we'll see.
giaur said:
@ThE_MarD your manifest giving me error message:
With my previous manifest I had TheMuppets only included, build won't boot at all. Now I'm trying with your manifest, we'll see.
Click to expand...
Click to collapse
Hmm that's not my manifest amigo. I don't have a manifest.xml. I'd recommend reviewing that XML file or deleting it if there's nothing in there you need.
my manifest is local_manifest.xml
ThE_MarD said:
Hmm that's not my manifest amigo. I don't have a manifest.xml. I'd recommend reviewing that XML file or deleting it if there's nothing in there you need.
my manifest is local_manifest.xml
Click to expand...
Click to collapse
Of course, I mean "local_manifest", after applying it I got that error message. Anyway, compilation has been succeded, if anybody wish to try:
https://mega.nz/#!LV1HVBDC!q---2tIplvLJUFbVv4VKr-V_JHVpiJrXPykR-AwXKUU
Md5:
https://mega.nz/#!yUFnmDzL!OrNT-rpaLFagY3BJwZ_vyTKQcBcjs5kr39mMnYUpeCY
I hope no bootloop this time.
giaur said:
Of course, I mean "local_manifest", after applying it I got that error message. Anyway, compilation has been succeded, if anybody wish to try:
https://mega.nz/#!LV1HVBDC!q---2tIplvLJUFbVv4VKr-V_JHVpiJrXPykR-AwXKUU
Md5:
https://mega.nz/#!yUFnmDzL!OrNT-rpaLFagY3BJwZ_vyTKQcBcjs5kr39mMnYUpeCY
I hope no bootloop this time.
Click to expand...
Click to collapse
Downloaded, will test and report back.
---------- Post added at 10:16 AM ---------- Previous post was at 09:56 AM ----------
giaur said:
Of course, I mean "local_manifest", after applying it I got that error message. Anyway, compilation has been succeded, if anybody wish to try:
https://mega.nz/#!LV1HVBDC!q---2tIplvLJUFbVv4VKr-V_JHVpiJrXPykR-AwXKUU
Md5:
https://mega.nz/#!yUFnmDzL!OrNT-rpaLFagY3BJwZ_vyTKQcBcjs5kr39mMnYUpeCY
I hope no bootloop this time.
Click to expand...
Click to collapse
Well, No error in installation, but not boot.
With GAPPS they enter on boot animation but still there forever, without they not pass the boot logo.
Beackman said:
Downloaded, will test and report back.
---------- Post added at 10:16 AM ---------- Previous post was at 09:56 AM ----------
Well, No error in installation, but not boot.
With GAPPS they enter on boot animation but still there forever, without they not pass the boot logo.
Click to expand...
Click to collapse
Yes, I can confirm. I'm going to make new, fresh build. Probably Lineage bug, already fixed: https://github.com/LineageOS/android_device_leeco_x2/commit/fd453e976c4f9ff828bf83310c2bab6563491f96 we'll see.
ThE_MarD said:
Heyyo, it was bootable yes but right meow I'm currently having issues and attempting to synchronize from scratch again. Not sure if I changed something or if a repo sync is causing issues.
Currently moto999999 and I are the only people trying to fix bugs on the x2 for lineage-15.1... So any extra help is appreciated.
---------- Post added at 06:15 PM ---------- Previous post was at 06:13 PM ----------
If you're taking about the LineageOS 15.1 blue thread I don't think luchetto was using official lineage-15.1 sources so his build would never be official. It's just a build he was working on.
The official lineage-15.1 is currently only being worked on by moto999999 and I... Hence me saying if anyone wanted to help fix bugs with us the assistance would be appreciated.
I haven't bothered making a thread about it since there's still a bit of work to be done.
Or if you're taking about the Lineage-15.0 thread by andr68rus? It has been long since discontinued and he no longer develops for the Le Max 2 as he now owns a Xiaomi Mi Mix 2 (and a smexy device it is).
---------- Post added at 06:22 PM ---------- Previous post was at 06:15 PM ----------
@giaur I forgot to mention but here is my local manifest and my build scripts if you wish to help or if anyone else wants to help.
https://github.com/lineage-o-x2/local_manifests
Click to expand...
Click to collapse
Thank you. I have LineageOS 15.1 sources already downloaded. I will sync x2 sources and try to help
Awesome! Glad to hear more people are jumping on board to help
If you have Telegram then please pm me I we have a developer chat group which is a little faster than these forums
New build up: https://mega.nz/#!fc9BmBQa!1u-Jv4nrLzAyCgPb8NcsGhz2tQ1gMtvvgjXRW31YIho
I'm confused. I'm pretty sure it booted, but after flashing it again only blue led and black screen. Or I just flashed different zip first time (so it booted). I am able to clean install rom I was before though. Totally confused. I've tried then 2 times to clean flash my build, not booting. Strange.
You can test and tell me if it works for you.
giaur said:
New build up: https://mega.nz/#!fc9BmBQa!1u-Jv4nrLzAyCgPb8NcsGhz2tQ1gMtvvgjXRW31YIho
I'm confused. I'm pretty sure it booted, but after flashing it again only blue led and black screen. Or I just flashed different zip first time (so it booted). I am able to clean install rom I was before though. Totally confused. I've tried then 2 times to clean flash my build, not booting. Strange.
You can test and tell me if it works for you.
Click to expand...
Click to collapse
Booted fine, now is OK.
Beackman said:
Booted fine, now is OK.
Click to expand...
Click to collapse
Strange
I am trying to add a few things into system.img for a Chuwi H9Air. It is an MTK MT6797 chip.
I download the firmware and it has the following files:
04/08/2018 04:45 PM 146,026 APDB_MT6797_S01_alps-trunk-o0.tk_W17.45
06/04/2018 11:43 AM 10,298,256 boot.img
06/02/2018 08:23 PM 9,044,272 cache.img
04/02/2018 10:37 AM 2,333,509 DbgInfo_DSP_MT6797_MOLY_LR11_W1630_MD_MP_V67_2_2018_03_06_16_40_1_ulwctg_n
04/08/2018 04:09 PM 3,078,862 DbgInfo_LR11.W1630.MD.MP_TK_MD_BASIC_MOLY_LR11_W1630_MD_MP_V67_2_2018_04_02_17_52_1_ulwctg_n
06/02/2018 01:49 PM 418,240 lk.img
06/02/2018 01:49 PM 2,762,896 logo.bin
06/02/2018 01:53 PM 528 md1arm7.img
06/02/2018 01:53 PM 1,015,120 md1dsp.img
06/02/2018 01:53 PM 18,196,000 md1img.img
06/02/2018 01:53 PM 4,255,344 md3img.img
04/02/2018 10:37 AM 1,271,188 MDDB.C2K.META_MT6797_S00_SIXTH_CBP_MD_MP5_V72_2_3_3g_n.EDB
04/08/2018 04:09 PM 788,954 MDDB.META_MT6797_S00_MOLY_LR11_W1630_MD_MP_V67_2_1_ulwctg_n.EDB
04/08/2018 04:09 PM 61,806,498 MDDB_InfoCustomAppSrcP_MT6797_S00_MOLY_LR11_W1630_MD_MP_V67_2_1_ulwctg_n.EDB
06/02/2018 01:50 PM 14,119 MT6797_Android_scatter.txt
06/02/2018 03:20 PM 71,440 odmdtbo.img
06/02/2018 01:50 PM 189,528 preloader_x970_t10.bin
06/04/2018 11:43 AM 12,082,064 recovery.img
06/04/2018 11:40 AM 42,688 scp.img
06/27/2018 08:24 AM 1,846,269,976 system.img
06/04/2018 11:40 AM 90,112 tee.img
06/04/2018 11:44 AM 53,470,064 userdata.img
06/04/2018 11:44 AM 381,834,204 vendor.img
I tried to use MTK_Extractor_V2.6.3 to unpack and repack system.img. Then I use SP_Flash_Tool_v5.1804_Win to flash it back. However, I got stuck at fast boot.
It appears that Oreo and earlier has dm-verify. So I tried:
Remove verified tag in the vendor.img at etc\fstab.mt6797 and remove the verity_key file in initrd of boot.img. This go into fastboot.
Just remove verified tag in the vendor.img at etc\fstab.mt6797. This go into a boot loop.
But I still see the same problem. Is there any suggestion on how to proceed? Thanks.
Do you have Oreo on your MTK6797 ? I just purchased a generic tablet said to have v8 on it, when it arrived it was 4.4 spoofed to show 8.0 now I need to upgrade at least to 5 to get my apps to run on it. I'm not familiar with the limitations can the MTK6797 run v8? is this rom specific to the MTK6797 or to the tablet hardware?
Hello
I intend to use an old android phone for 2fa & as a crypto wallet so i want to completely disable networking.
I have a stock firmware zip file, can i corrupt the modem files & install it via android recovery mode?
Does anyone have any decent ideas on how to completely disable mobile data/calling, wifi & bluetooth on a firmware level?
opearn said:
Hello
I intend to use an old android phone for 2fa & as a crypto wallet so i want to completely disable networking.
I have a stock firmware zip file, can i corrupt the modem files & install it via android recovery mode?
Does anyone have any decent ideas on how to completely disable mobile data/calling, wifi & bluetooth on a firmware level?
Click to expand...
Click to collapse
I think editing Android's init.rc file(s) is the right way, will say simply don't start the services in question from within there.
Here is a summary of what Android's init process looks like:
Run init
Parse init.rc files
Parse imported rc files recursively
Triggers a bunch of actions
Starts a bunch of services
jwoegerbauer said:
I think editing Android's init.rc file(s) is the right way, will say simply don't start the services in question from within there.
Here is a summary of what Android's init process looks like:
Run init
Parse init.rc files
Parse imported rc files recursively
Triggers a bunch of actions
Starts a bunch of services
Click to expand...
Click to collapse
Thanks for the advice, I've downloaded Android.Image.Kitchen.v3.7, Can you link to any more information on how to actually do this?
My understanding so far is i need to unpack boot.img from my firmware and then edit the init.rc file before repacking?
I created a BOOTIMG folder then used unpackbootimg -i boot.img -o "BOOTIMG"
But i didn't get an init.rc file just the following files:
31/08/2020 12:15 PM 11 boot.img-base
31/08/2020 12:15 PM 1 boot.img-board
31/08/2020 12:15 PM 41 boot.img-cmdline
31/08/2020 12:15 PM 104,448 boot.img-dt
31/08/2020 12:15 PM 5 boot.img-hashtype
31/08/2020 12:15 PM 11 boot.img-kernel_offset
31/08/2020 12:15 PM 5 boot.img-pagesize
31/08/2020 12:15 PM 1,377,066 boot.img-ramdisk.gz
31/08/2020 12:15 PM 11 boot.img-ramdisk_offset
31/08/2020 12:15 PM 11 boot.img-second_offset
31/08/2020 12:15 PM 11 boot.img-tags_offset
31/08/2020 12:15 PM 11,345,844 boot.img-zImage
Click to expand...
Click to collapse
I've come to the understanding that i need to boot into linux as windows will not support the file structure of android firmware.
Does anyone know what services i need to specifically disable to knock out networking or can they link to a good write up on what android firmware services do what?
Found some more information if anyones interested a guide can be found here on unpacking boot/ramdisk files.
nerdschalk com/how-to-unpack-and-repack-boot-and-ramdisk-files-easily/
Info on init.rc
github com/aosp-mirror/platform_system_core/blob/master/init/README.md
I would also be interested in adding some apks & a custom bootlogo to be installed with the new custom firmware if possible and would appreciate links to any info on achieving these goals.