yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] Karthick Chandran:
THIS INFO IS FOR ARMv7 ONLY:

*Broadcom

*Mediatek

*Speadtrum (vivalto)

*Qualcomm

*Tegra

Moderators please don't close this thread I will make typos after returning from school

This thread will more be helpful for ppls

BROADCOM

REQUIREMENTS:

1. Need kernel source if in case to make more stability

2. BCM21654 and above

SOURCES

KERNEL: ----> Note this contains the things which are to make some features to work on ROMs

https://github.com/karthick111/bcm21654-cm_kernel_common

DEVICE_TREE: ----> Can have the reference or port but give credits if it is based on any of it

GALAXY POCKET NEO: https://github.com/karthick111/android_device_corsica_cm

GALAXY FAME: https://github.com/wulsic/android_device_samsung_nevisp

GALAXY GRAND: https://github.com/pawitp/android_device_samsung_i9082

PATCHES: ----> All major patches from #Pawitp

KITKAT: https://github.com/wulsic/android_patchesnevisp

LOLLIPOP: https://gist.github.com/pawitp/cba169c87dba57eea8ef

COMMON-KITKAT: (hardware/libhardware/include/audio.h) replace with this->: https://gist.github.com/dhinesh77/7206ec7900bee32e4c51 ----> For working mic,videocam fix

COMMON-KITKAT,LOLLIPOP: https://github.com/PAC-man/android_frameworks_native/commit/0c81fda74f6e7f9dc5f48bd00e4dbeaef12fdbc2 ----> EGL patch

COMMON-LOLLIPOP: https://gist.github.com/Flex1911/47a9515fc482d5551a85 ---> patch for icu to run the old egl to run on new framework

________________________END FOR BROADCOM________________________

MediaTEK

SOURCES AS FAR WE KNOW MEDIATEK VIOLATING GPL TERMS SO WE CANT EXPECT KERNEL'S

DEVICE_TREE: ----> Can have the reference or port but give credits if it is based on any of it

MT6575 -single,dual core variants

CELKON A98: https://github.com/karthick111/android_device_Celkon_A98

________________________WAIT FOR NEXT UPDATE MEDIATEK________________________

SPEADTRUM Socs

SOURCES SPEADTRUM KERNEL SOURCE'S ARE RELEASED BUT SOME ARE NOT WORKING

WARNING IN THIS CHIPSET RIL FIXES ARE NO WAY SO QUIT IT IF YOU DONT HAVE WIFI

DEVICE_TREE: ----> Can have the reference or port but give credits if it is based on any of it

SAMSUNG GALAXY V SM-G313HZ: https://github.com/cleverior/android_device_samsung_vivalto3gvndx Used patches are in the device tree itself

SAMSUNG GALAXY STAR: https://github.com/TeamRegular/android_device_samsung_mint

________________________END FOR SPEADTRUM________________________

clicking the THANKS button may appreciate me to finish the guide
[Miscellaneous Android Development] Slash137:
Could we port CM11 from an MTK to another with this?
[Miscellaneous Android Development] Tech N You:
Kindly share how to please I got kernel sources for my device
[Miscellaneous Android Development] Karthick Chandran:
Yes for sure but wait I'm unable to amend some time for it
[Miscellaneous Android Development] Tech N You:
Take your time
[Miscellaneous Android Development] Tech N You:
Where is the method? How to port or create from existing tree?
[Miscellaneous Android Development] Karthick Chandran:
The simple method can be done by all and it's no way useful and its not explainable

If you are new to this quit it let other devs make use if it
[Nexus 7 (2013) Q&A] computerslayer:
It's generally bad form to post the same thread in multiple forums. This forum is the best one - please consider deleting your duplicate in the General forum.

Yes, you can use TWRP to install a custom KitKat ROM from Lollipop. I just downgraded myself from stock 5.02 to CyanogenMod 11. The key was to wipe everything except internal storage, assuming you want that.
[Nexus 7 (2013) Q&A] EvolJester1982:
Yea. didn't mean to dub post. ill delete the other.

But thanks for the answer. Do need to do advance wipe? The devik and one other.. Can't rebember.. On my gs3 I used CWM. So its a little different.....
[Nexus 7 (2013) Q&A] computerslayer:
No worries. Thanks for your consideration.

I don't know if you have to do an advance wipe. I'd be leery of doing anything less than an advance wipe - KitKat and Lollipop are pretty different versions of Android. I wouldn't want to risk anything get mixed together if there isn't a clean install on a blank slate.
[Nexus 7 (2013) Q&A] EvolJester1982:
OK. I went into advanced wipe and cleared devik, data and system.. I left my internal storage.. That was the correct way to do it correct???

It saying that I only have 7.63gb free?? That don't sound right.... :confused:

EDIT: installed CleanRom 3.0.8 (4.4.4 KK) from LP 5.0.2
[Nexus 7 (2013) Q&A] Masterchief87:
That would be because you didn't format data so there is still stuff left over on your internal storage. I recently downgraded from lollipoop (Yes I spelled it that way on purpose) back to kitkat for the same reason and I had to format data because I still had gigabytes of space being taken up by Additional files for large games like GTA. What I did was move all the stuff I wanted to keep to my otg flash drive then formatted data and finally selected advanced wipe then wiped everything but USB otg. Finally I installed carbon ROM and gapps and all is good.
[G3 Q&A, Help & Troubleshooting] delamanga:
So I have this LG G3, that for some reason, couldn't connect to gmail. After reading some threads online, I decided to restore the original ROM (which for some reason was not the one installed). For that, I followed the tot tutorial in this website: http://xdaforums.com/showthread.php?t=2785089

However, I cannot pass the 6%, and I keep getting the following error message:

## [ERROR] : Partition Change factory Partition (Phone!=tot)

[ 1:57:51] Port Close

[ 1:57:52] RefurbishProcess() Error.

[ 1:57:52] ¡Ú¡Ú ERROR REASON : Unknown Error

[ 1:57:52] CBasicComControl::IsConnected, the port(COM41) connection is not detected

[ 1:57:52] RunProcess() is fail.

[ 1:57:52] CBasicComControl::IsConnected, the port(COM41) connection is not detected

[ 1:57:52] [ 1:57:51] ## [ERROR] : Partition Change factory Partition (Phone!=tot)

I am using the original cable, and I tried in several computers, different ports, so it is not a USB 3 port problem. I am pretty sure that I am using the right software (D855 V10e EUR), as described in all tutorials online. I have also followed the instructions carefully, and I have displayed in my phone : Firmware Update.

I am using the following versions:

DLL: LGD855_20140526_LGFLASHv160.dll

Software: LG Flashtoll 1.8.6.527

TOT: LGD855AT-00-V10e-EUR-XX-JUL-08-2014-32G+0.tot

Actually, now my LG G3 gets "stuck" on the firmware upgrade, until the battery drains out. Even if I remove the battery, when I power it on, it gets back to that menu again.

So what am I doing wrong and how can I fix this problem??
[G3 Q&A, Help & Troubleshooting] itsbighead:
Christ stop using the TOT method

Use the KDZ method in accordance with LG Flashtool 2014 and it should work
[G3 Q&A, Help & Troubleshooting] Stransky:
Agreed. I have just used that and the same firmware to downgrade from V20H and it worked like a charm.

Stransky
[G3 Q&A, Help & Troubleshooting] delamanga:
Issue Solved

Thank you for your advice. If worked perfectly. This method is much easier.

Issue Solved!
[G3 Q&A, Help & Troubleshooting] delamanga:
Different version after upgrade

Hi,

After using the KDZ method, my LG version has changed from D855 to D855V. As a result, It is very strange indeed, and as a consequence I cannot connect to the network. I get the "service disabled", "no Service" and sometimes it connects to the operator for some seconds. It is important to say that before the flash, the phone was working fine, and connected normally to the network.

Troubleshoot already done:

1 - Firstly, I flashed using the D85520B_00.Kdz file.

2 - When I realized that the error, I thought this might be a version problem, so I downloaded D85510e_00.kdz version and re-flashed downgrading to 4.4.2. However problem remained.

What should I do? I am running out of ideas.

Thanks in advance
[G3 Q&A, Help & Troubleshooting] RadarZgin:
dude.. have you returned it to D855 from D855V?

i got no signal here.. do you have?
[G3 Q&A, Help & Troubleshooting] raselopu:
Bump . Any update regarding http://xdaforums.com/showpost.php?p=59087574&postcount=5?
[G3 Q&A, Help & Troubleshooting] amanyadavme:
guys i m also having same issue please help me out...and tell me from where i have to start and which file i have to download...please tell me......amanyadavme@gmail.com is my email id...or msg me there
[G3 Q&A, Help & Troubleshooting] Nomi1987:
Guys i m also facing same problem,i also tried many kdz firmwares but always stuck on 2% then a new window open with retry option i tried many times but same,phone is stuck on firmware update

:(.i took info of my fone and i search firmware for it with suffix but download link not working.these are the link which match my fone suffix.

http://csmgdl.lgmobile.com/dn/downloader.dev?fileKey=FW4BSF5E029EAPD13760ZRW/D85520E_00.kdz

http://csmgdl.lgmobile.com/dn/downloader.dev?fileKey=FW3D3H1E02T2A2ZD0781Z02/D85520F_00.kdz

any1 among all of you can download these file then can upload on google i will be very thankfull.
[G3 Q&A, Help & Troubleshooting] bafless:
Hello , well i'am facing the same probleme did you find a solution ?
[G3 Q&A, Help & Troubleshooting] hushme:
Did you find any solution cause im facing that problem
[G3 Q&A, Help & Troubleshooting] juanf.o:
the only solution for this problem is flashing firmware to model 850 ATT, BIN_LGD850AT-01-V10d-310-410-JUN-19-2014-0 because this phone model is D850 not D855, sorry my english is not good, use model hack dll mod.dll to change D855 at D850 stock firm with LG flash tool
[G3 Q&A, Help & Troubleshooting] klodidr:
can you upload here dll that you used to flash d855 with d850 firmware
[G3 Q&A, Help & Troubleshooting] juanf.o:
The following errors occurred with your submission:

To prevent spam on the XDA forums, ALL new users prevented from posting outside links in their messages. After approximately 10 posts, you will be able to post outside links. Thank you for understanding!

XDA will not let me post links to download file, send me your email and I sent it
[G3 Q&A, Help & Troubleshooting] hosseinii:
my problem too

d855 flash with tot file

[ERROR] : Partition Change factory Partition (Phone!=tot)
[Android Software Development] Negan:
mine!!!
[Android Software Development] zelendel:
Ill give it a run
[Android Software Development] Negan:
Right on! Hope you find it useful and saves a few steps!
[Android Software Development] SaschaKH:
Not that I need it right now but sounds like something you might 'need' sometime. Thx!

Gesendet von meinem A0001 mit Tapatalk
[Android Software Development] nicholaschum:
[MENTION=5098295]markbencze[/MENTION] sick, bro!
[Android Software Development] kushXmaster:
[MENTION=5098295]markbencze[/MENTION] is taking over xda haha
[Android Software Development] cerj:
Benczebro, you are awesome.. Thank you for this..
[Android Software Development] mike the inkman:
You got something on every burner of the stove, man. Good work.
[Android Software Development] chrisa887:
this comes in handy, nice work :D:D:D
[Android Software Development] Negan:
I'm working on an update guys to latest apktool 2.0.0rc4 and may push it out tonight. I will be stripping this tool of may unneeded options too. Likely will just have decompile, compile, sign and possibly zipalign. Zipalign really isn't needed so we'll see.
[Android Software Development] Spannaa:
I'd prefer to see zipalign stay.

When I'm compiling a theme apk with my version of apkmanager, I usually compile it, select 'n' for not a system apk, sign it and then zipalign it.

Sent via Bacon...
[Android Software Development] Negan:
I understand what you're saying. I'm still on the fence though only because for example: you are making a theme or app for play store and you want to sign and zipalign it and do so. Your apk will be rejected by google. You will be asked to use something else ie: vts, eclipse or as.

So it seems a bit redundant to keep it. That being said I may keep it still for people to at least have the option. But my goal is to keep this basic and very simple.
[Android Software Development] zelendel:
I know you want to keep it simple but i dont mind the options As I use them more then most I would say. IT has worked so far for me without issue. Very straight forward and simple really.

I think we tend to dunb things down a bit to much as of late.
[Android Software Development] Negan:
Good point. Perhaps I'll make 2 versions. One for basic stuff and new to modding users and one one full one. Just so my inbox can avoid too many "how does this work" posts.

I'll link my git as well so you guys can just clone it to stay up to date too
[Android Software Development] zelendel:
I'll be honest. If you are getting pm like that then they need to do some more reading. Your directions are pretty straight forward.
[Android Software Development] Calaisz17:
is it really an editor if you cant "re" compile?
[Android Software Development] zelendel:
And why can't you?
[Android Software Development] Calaisz17:
so you can?

Code:

decompile apks

compile (not recompile!!!) apks

sign apks

im just going by its stated description so it does decompile and recompile apks?
[Android Software Development] zelendel:
Compile and recompile are pretty much the same thing. Yes I use it all the time.
[Android Software Development] Spannaa:
We could be pedantic and say it doesn't do either!

It decodes (apktool d) and builds (apktool b) apks (Ref) ;)

It works and it's being updated - that's what matters :good:
[Android Software Development] joeyddr:
Delete
[Android Software Development] Spannaa:
Apktool hasn't been officially updated to deal with 5.1 yet so unless you download the latest snapshot build and replace apktool.jar in this, you'll be stuck for a while.

BTW, Stick your code between code tags - it's easier to read ?

Sent via Bacon...
[Android Software Development] joeyddr:
do you have a link to the latest snapshot build? please
[Android Software Development] Spannaa:
I do, but it's on my PC and I'm not.

Search the Apktool thread and you'll find it ?

Sent via Bacon...
[Android Software Development] Negan:
Omg you're not serious are you?

I'm making of fun of everyone's grammar when I wrote that!

[emoji23] [emoji23] [emoji23]
[Android Software Development] Negan:
[MENTION=4053942]joeyddr[/MENTION]

I ask that you edit your post, revisit the op and if you're going to completely ignore it, at least use the hide tags!
[Android Software Development] joeyddr:
How's that? Thanks for your help with the error though....I got it sorted
[Android Software Development] Negan:
Glad you fixed your error.
[Android Software Development] Negan:
Updated!!!
[Android Software Development] Negan:
Updated to latest apktool for those experiencing errors decompiling some of the newer gapps, etc.
[Android Software Development] umo4u:
thanks but i need help

thank u for such a nice work.i read read me file and did everything what is written step by step.decompile worked but compile did not.i have read that this is not q&a thread but i do not know where to find answer.i respect that u do not like big errors messages so attached my log with this post,can u kindly check it and help me :(
[Android Software Development] zelendel:
Try reading the log before posting issues. Your error was easy to find

No resource found that matches the given name '@android:style/TextAppearance.StatusBar

means there is no style that matches this. You will have to go add it.
[Android Software Development] umo4u:
thanks

thanks but frankly speaking i read the log but i did not understand it that is why asking for help

actually i own nexus 7 2013 flo and wanna add ambient display to my settings for that i wanna change systemui and framework res apks with this tool.i am on cm 12.1 19-09-2015 nightly.

well bro u find what is wrong but i do not know where i have to go and add those style :(
[Android Software Development] Negan:
Not certain what your experience is with modding but if you're relatively new at it i would recommend adding something simple to get used to how things work a bit. Sometimes things can prove to be more challenging than anticipated.
[Android Software Development] umo4u:
Ya I am not that experienced so I will try something simple but like I said I wanna add ambient display to my nexus flo on cm 12.1 that is why I was trying to mod above files.if feasible please guide me to solve my compile apk problem.
[Android Software Development] Negan:
I will not guide you on this as you aren't ready. I suggest trying 3minit battery mod perhaps. It's probably the most simple mod to add. Search for it. Easy to find and easier to do. You need to crawl before you can walk. Have fun!
[Android Software Development] zelendel:
That is a huge job. Even needs kernel edits to pull it off. You won't be able to just do it with this tool
[Android Software Development] umo4u:
Okay I will learn first on simple ones. Still thanks guys :)
[Android Software Development] Negan:
Updated to latest apktool guys! Also changed the theme of the script to be easier on the eyes now!
[Android Software Development] ckvisme:
#theFlasherThingy!!!

You made it real! ?

Lol, you are brilliant [MENTION=5098295]markbencze[/MENTION]
[Android Software Development] Negan:
Sure did! I figure this is supposed to be a fun hobby so why not have some fun with it! Anyone who doesn't follow us all on Google plus will think I'm completely nuts!
[Android Software Development] zelendel:
Wait your not nuts? Damn and I thought I finally wasn't alone lmao
[Android Software Development] kushpancake:
is there anything like this avail for mac? i'm currently at a standstill with trying to use apktool on my macbook air.
[Android Software Development] zelendel:
You will be hard pressed to find any tools like this for mac. Very few developers use the OS and when then do its never for android development due to the well known issues with IOS and android.
[Android Software Development] ravian29:
hi guys, i have wasted my last 5 days on configuring apktool. I have tried almost every thing on earth to fix this issue but its same. Can gurus please have a look on my log.txt and tell me how can i fix this aapt issue thanks
[Android Software Development] Negan:
I haven't looked at that yet but why not try this instead of what you're trying? This is the easiest thing ever to use!
[Android Software Development] ravian29:
Thanks a lot for replying mate, yap this tool saved my life. Only thing i was missing, was signing with orignal signatures and only this tools does that. Now everything is working fine here.
[Android Software Development] Negan:
Well I must say I am very shocked how dead this thread is. I think it's a great tool but either other people prefer filling up their C drive doing things in command line or they just don't know about this!!!!

Oh yeah I guess I should mention that this is UPDATED again to apktool 2.1.1!!!!
[Android Software Development] zelendel:
A shame really. It's one of the best tools available
[Android Software Development] kamikaze702k:
Can you make a android apk version, something like ninjamorph, because ninjamorph hasn't been updated in years and doesn't work anymore... Thanks
[Android Software Development] zelendel:
Mods like that are not an option anymore.
[Android Software Development] Negan:
Closest you're going to get to that is the theme diy app. But give this a try. Its not difficult to use
[Android Software Development] Abaddon:
woot nice tool. what I was just looking for thanks sir!
[Android Software Development] organick87:
total n00b at posting logs, so i apologize in advance if this isn't right. i wasn't sure what "hide tags" were or how to apply them or if i needed to just to post this.

java version "1.8.0_91"

Java(TM) SE Runtime Environment (build 1.8.0_91-b14)

Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)

Could Not Find C:\Users\det110new\Desktop\ApkEditor_V_2.1.1\place-apk-here-for-modding\../place-apk-here-for-modding/signedfa_Phone.apk

Could Not Find C:\Users\det110new\Desktop\ApkEditor_V_2.1.1\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedfa_Phone.apk

Exception in thread "main" java.lang.NullPointerException

at brut.androlib.res.xml.ResXmlPatcher.pullValueFromStrings(ResXmlPatcher.java:128)

at brut.androlib.ApkDecoder.putVersionInfo(ApkDecoder.java:360)

at brut.androlib.ApkDecoder.writeMetaFile(ApkDecoder.java:299)

at brut.androlib.ApkDecoder.decode(ApkDecoder.java:162)

at brut.apktool.Main.cmdDecode(Main.java:163)

at brut.apktool.Main.main(Main.java:81)

i've been having issues no matter what version, method or tool i use to decomp/comp apk files and my goal is just to change out some hex codes of a pre-existing layers theme i'm currently using. my source apk file (is this case is the layer apk for the Phone app) was taken from system\vendor\overlays because i could not locate any other one. i'm starting to think this is my problem because i'm doing everything else in the directions for any other method i'm using. the layer was applied on my n6 while i copied and pasted it to my internal storage then cabled up my n6 to my computer and dragged the file over. is this an alright method as far as getting the apk to my computer goes?
[Android Software Development] Negan:
your error is actually your java version. According to the log you're 1.8. Try downgrading to 1.7 and i think you'll have no problems at all
[Android Software Development] Negan:
You need to ask this question in the note 2 forums in the appropriate section. This is simply a tool to decompile and then re-compile apks. Also realize most of us learned through trial and error at our own risk.
[Android Software Development] zelendel:
As stated. Ask there. But just to give you a heads up. You will have to rewrite all the ode for that button. Which means learning smali coding. Good luck. You will need it.
[Android Software Development] O's:
Thanks, mark and z. I did try the Note 2 forums (nearly all the variants) and got no response, probably because it's a big undertaking. Didn't know it'd be that tough to turn one feature off and another on, when they're both already there, but I know none of this stuff's easy. OK, thanks again for your answers.
[Android Software Development] Negan:
The biggest hurdle is that it's not an aosp ROM which means it's closed source. Your best bet is to start small. Like for example you could decompile an Apk like systemui and make a few simple changes to something like toggle colors and then recompile and flash it. That way you get the hang of tinkering. 3minute mod is another very simple mod. Just go to their official thread and you will find very simple instructions. Just be sure to backup because if you FC on the systemui you're basically screwed .

Good luck
[Android Software Development] O's:
Great to know. Thank you. I appreciate the encouragement and advice. Means even more coming from a Jedi. Used the fine work of [MENTION=4488450]ptmr3[/MENTION] a great deal over the years. Listed him/her as the referrer when I joined!
[Android Software Development] Negan:
He's long gone. Does Android development professionally now. I speak to him still though
[Android Software Development] O's:
Let him know his legend lives on.
[Android Software Development] Negan:
Updated with 2.2.0 apktool today!

Looks like he's working on another mini update too so I'll have to update this again shortly after Conner does his thing! But I'll be honest, I've been incredibly lazy on doing anything the last few months. Going through a "burnt out from constant tinkering stage". Slowly working towards getting a new theme done which I think will be pretty cool when I'm done. Maybe I'll go pure flat 100% material copy cat/cookie cutter for [MENTION=1140856]zelendel[/MENTION] since he can't get enough material!!!

#BlackScreenOS is coming