Please help! - Android Q&A, Help & Troubleshooting

Okay so i have cloned, a github from a rom developer for my phone. (this one https://github.com/Seraph08/device_oneplus_oneplus2/tree/cm-13.0 "
i have downloaded it on my linux, and have all the folders, the part i don't get is, how do i build it? Because i don't have to edit anything, it's already compiled for my phone. But i just don't get how to build it, so i get the files i need to zip!

theonlykamph said:
Okay so i have cloned, a github from a rom developer for my phone. (this one https://github.com/Seraph08/device_oneplus_oneplus2/tree/cm-13.0 "
i have downloaded it on my linux, and have all the folders, the part i don't get is, how do i build it? Because i don't have to edit anything, it's already compiled for my phone. But i just don't get how to build it, so i get the files i need to zip!
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?p=54118606
Sent from my HUAWEI G525-U00 using XDA-Developers mobile app

smart-t78 said:
http://forum.xda-developers.com/showthread.php?p=54118606
Sent from my HUAWEI G525-U00 using XDA-Developers mobile app
Click to expand...
Click to collapse
Listen, i'm not trying to port a rom, i simply cloned a working source code for my rom, but when i try to run the build commands like "launch" "Breakfast" ". build/envsetup.sh" nothing works...

Related

AOSP ouptut

Hi all. I have been through the AOSP website and built a basic rom, but I can't find it.
Sorry this is such a basic point - and related to another site - but can anyone point me to the output from the build process. I initiated the build with lunch and then used make to, er, make it, but can't find what I've made.
Thanks
Edit: am I right in thinking the output is a .zip file? If so, think it has failed because there's no .zip anywhere
not in your work folder? (the folder you were in while 'making' the rom) lol
ldrifta said:
not in your work folder? (the folder you were in while 'making' the rom) lol
Click to expand...
Click to collapse
No. I'm assuming it'll be in zip format, and there's nothing like that in the working folder.
Sent from my HTC Desire S using XDA Premium App
If it compiled, you should be able to find it here:
WORKING_DIRECTORY/out/target/product/PRODUCT_NAME/ROM.zip
MongooseHelix said:
If it compiled, you should be able to find it here:
WORKING_DIRECTORY/out/target/product/PRODUCT_NAME/ROM.zip
Click to expand...
Click to collapse
I couldn't find it there, so I'm assuming it didn't compile properly.
Thanks.
Sent from my phone using fingers

Stock ROM modification.. Help please!!!!

Hello,
I want to make a custom ROM based on a stock i9001 ROM. However when I extracted the tar file there were IMG and ext4 files. I know how to make a rom via cygwin when i have: 1) system folder
2) META-INF folder
And 3) boot.img
I don't know what to do to the stock ROM
(.tar) to be like this
*** sorry for my bad english
Sent from my Galaxy Nexus using xda premium
kagouro said:
Hello,
I want to make a custom ROM based on a stock i9001 ROM. However when I extracted the tar file there were IMG and ext4 files. I know how to make a rom via cygwin when i have: 1) system folder
2) META-INF folder
And 3) boot.img
I don't know what to do to the stock ROM
(.tar) to be like this
*** sorry for my bad english
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
explain more
Help Building a CUSTOM(from STOCK ROM)
Newbie here---
- I have downloaded the HTC stock RUU for my device.
- I used Android Kitchen cygwin to extract the files, setup the working folder.
- Added root permissions,BusyBox
- Built the rom from working folder.
Wanted to test whether this works or not... But Phone Got stuck on HTC logo .. Not even BOOTANIMATION.
What did i miss or DO wrong here??
Where in these steps worked flawlessly when i took a custom rom? What else should be done here?? Help would be Appreciated!!!
Learn More About Kitchen. Add Root, Busybox, Put apk files in System/aps etc. What do you want to do?
cheqolada said:
Learn More About Kitchen. Add Root, Busybox, Put apk files in System/aps etc. What do you want to do?
Click to expand...
Click to collapse
I'm Sorry, The ROM i built from the working folder did not boot. My question was what went wrong?
kagouro said:
Hello,
I want to make a custom ROM based on a stock i9001 ROM. However when I extracted the tar file there were IMG and ext4 files. I know how to make a rom via cygwin when i have: 1) system folder
2) META-INF folder
And 3) boot.img
I don't know what to do to the stock ROM
(.tar) to be like this
*** sorry for my bad english
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Maybe this is what you search:
http://forum.xda-developers.com/showthread.php?t=1976412
yashwantpiduru said:
I'm Sorry, The ROM i built from the working folder did not boot. My question was what went wrong?
Click to expand...
Click to collapse
My Answer is for kagouro - Becouse i Don't see your post when I write.
If Your Phone is dedected in adb you can use logcat (adb logcat in windows cmd) if phone don't dedected in adb - flash recovery via fastboot, join in recovery , instal working rom and found bad files in rom (try add modyfication singly - first root, second busybox etc - in this metod you can see whad mod don't work - probably stupid method but work :cyclops
yashwantpiduru said:
Newbie here---
- I have downloaded the HTC stock RUU for my device.
- I used Android Kitchen cygwin to extract the files, setup the working folder.
- Added root permissions,BusyBox
- Built the rom from working folder.
Wanted to test whether this works or not... But Phone Got stuck on HTC logo .. Not even BOOTANIMATION.
What did i miss or DO wrong here??
Where in these steps worked flawlessly when i took a custom rom? What else should be done here?? Help would be Appreciated!!!
Click to expand...
Click to collapse
Kitchen will replace certain necessary parts of your ROM if it isn't compatible with the kitchen, it puts them back when you compile. When you compiled your ROM did you take the guided option? Also, and probably the first thing I should have asked, is your phone compatible with kitchen?
Sent from my SPH-D710 using xda premium
Stryke_the_Orc said:
Kitchen will replace certain necessary parts of your ROM if it isn't compatible with the kitchen, it puts them back when you compile. When you compiled your ROM did you take the guided option? Also, and probably the first thing I should have asked, is your phone compatible with kitchen?
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
My phone is compatible with the kitchen.
Yeah I took the guided step! Still no luck
sent from my oc'd incS
yashwantpiduru said:
My phone is compatible with the kitchen.
Yeah I took the guided step! Still no luck
sent from my oc'd incS
Click to expand...
Click to collapse
OK, just for giggles try this, take the meta-inf folder from a rom you know works and using 7zip replace the one in your rom. Let me know if that helped at all:beer:
Sent from my SPH-D710 using xda premium
Stryke_the_Orc said:
OK, just for giggles try this, take the meta-inf folder from a rom you know works and using 7zip replace the one in your rom. Let me know if that helped at all:beer:
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Sure! its late! I will try and let you know asap!
P.S: actually I tried this as well adding aroma installer to the rom! That had some ext3 error ! Dont have a clue what's that?
sent from my oc'd incS
yashwantpiduru said:
Sure! its late! I will try and let you know asap!
P.S: actually I tried this as well adding aroma installer to the rom! That had some ext3 error ! Dont have a clue what's that?
sent from my oc'd incS
Click to expand...
Click to collapse
Ext3 is a mount point, I'm not sure what it would be specific to your device, but it tells me there's an error in your updater script
Sent from my SPH-D710 using xda premium
Stryke_the_Orc said:
Ext3 is a mount point, I'm not sure what it would be specific to your device, but it tells me there's an error in your updater script
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Thanks for the heads up... I am gonna check the updater script.
sent from my oc'd incS

Q..... can anyone help to built a rom without pc ???

Can any body in XDA help me to find a way to make ROM without PC . ?
Like signing zip, script, update binary. etc.​
rrajj said:
Can any body in XDA help me to find a way to make ROM without PC . ?
Like signing zip, script, update binary. etc.​
Click to expand...
Click to collapse
I'm no expert but I'm pretty sure that's impossible. What are you going to run a compiler on?
I m not making from the source . only porting and signeing how . lot of sign app like ( zip me ) etc r not working.
Apktool for Android contains a lot of useful tools for signing zip files etc. etc. and also whole java framework:
https://github.com/pqy330/apktool (download links from baidu.com below).
Also it IS absolutely possible to even compile whole rom or kernel on android device. C4Droid app (paid, search @gplay) seem to provide whole environment for compiling c/c++ and it IS working. The second thing is how long would it take....
esgie said:
Apktool for Android contains a lot of useful tools for signing zip files etc. etc. and also whole java framework:
https://github.com/pqy330/apktool (download links from baidu.com below).
Also it IS absolutely possible to even compile whole rom or kernel on android device. C4Droid app (paid, search @gplay) seem to provide whole environment for compiling c/c++ and it IS working. The second thing is how long would it take....
Click to expand...
Click to collapse
Thanks bro...
rrajj said:
I m not making from the source . only porting and signeing how . lot of sign app like ( zip me ) etc r not working.
Click to expand...
Click to collapse
Someone who dont have pc can able to sign the zips by using this guide
Works on 5.0=+ https://forum.xda-developers.com/android/help/app-sign-apk-zip-android-t3835975/post77483475

[BETA] Nexus 6P BOOTLOOP remover simplified. [NOOB ORIENTED]

This is BETA version.
I'm not responsible for any damage done to your bootlooping Nexus 6p.
I haven't made any of these zips or imgs, i just compiled and coded the .exe file that does everything automaticly you just need to agree with stuff for safety.
All credits goes to XCnathan32 and his original post at: https://forum.xda-developers.com/nexus-6p/general/guide-fix-nexus-6p-bootloop-death-blod-t3640279
You can download all the files needed here.https://www.dropbox.com/s/hjudzp7rat68anz/nobootloop%206p.zip?dl=0'
I hope this helps somebody
Feel free to hit me up.
I will try to respond to everyone.
I will also share the code with you if you want to take a look what's inside of this program and how it works.
"EDIT #1"
If it works as expected for everyone i will make the same version for LG Nexus 5X.
Thank you!
Since I'm a developer, can you share the source code of your exe? Thanks!
Sent from Enterprise bridge
Sent
CyberZeus1977 said:
Thank you!
Since I'm a developer, can you share the source code of your exe? Thanks!
Sent from Enterprise bridge
Click to expand...
Click to collapse
I've sent it to you as a private message.
virtualas said:
I've sent it to you as a private message.
Click to expand...
Click to collapse
Sorry, are you sure? I don't see it!
Sent from Enterprise bridge
I've resent it
CyberZeus1977 said:
Sorry, are you sure? I don't see it!
Sent from Enterprise bridge
Click to expand...
Click to collapse
I've resent it check it now
virtualas said:
This is BETA version.
I'm not responsible for any damage done to your bootlooping Nexus 6p.
I haven't made any of these zips or imgs, i just compiled and coded the .exe file that does everything automaticly you just need to agree with stuff for safety.
All credits goes to XCnathan32 and his original post at: https://forum.xda-developers.com/nexus-6p/general/guide-fix-nexus-6p-bootloop-death-blod-t3640279
You can download all the files needed here.https://www.dropbox.com/s/hjudzp7rat68anz/nobootloop%206p.zip?dl=0'
I hope this helps somebody
Feel free to hit me up.
I will try to respond to everyone.
I will also share the code with you if you want to take a look what's inside of this program and how it works.
"EDIT #1"
If it works as expected for everyone i will make the same version for LG Nexus 5X.
Click to expand...
Click to collapse
Could you please send me the source code too? If I can verify that it works safely and well, I can go ahead and recommend this post in my Bootloop fix guide .
Edit: The OP has not given me the source yet, however I went ahead and checked the file myself. The MD5 checksums of the modified 4 core files in the zip are identical to the ones I posted, so that's good. I decompiled the exe in dotPeek, and I found no malicious code in it, however, my knowledge of C and dissembling is limited, so that does not mean this file is guaranteed to be safe. But I doubt that this is malicious.
Unfortunately, this file has old files from before the core utilization fix, so I wouldn't recommend using it just for the reason that your device will be very slow. This has great potential though, and if OP maintains it, it could be very viable.
This post has actually inspired me to make a similar program, as many people could benefit from this, and I want to learn C as well, so a project like this would be a great start for me.
XCnathan32 said:
Could you please send me the source code too? If I can verify that it works safely and well, I can go ahead and recommend this post in my Bootloop fix guide .
Edit: The OP has not given me the source yet, however I went ahead and checked the file myself. The MD5 checksums of the modified 4 core files in the zip are identical to the ones I posted, so that's good. I decompiled the exe in dotPeek, and I found no malicious code in it, however, my knowledge of C and dissembling is limited, so that does not mean this file is guaranteed to be safe. But I doubt that this is malicious.
Unfortunately, this file has old files from before the core utilization fix, so I wouldn't recommend using it just for the reason that your device will be very slow. This has great potential though, and if OP maintains it, it could be very viable.
This post has actually inspired me to make a similar program, as many people could benefit from this, and I want to learn C as well, so a project like this would be a great start for me.
Click to expand...
Click to collapse
Sorry, I was out of town and didn't have access to my computer, btw the code is in C#, I'm sending the code to you right now.
Hey, super excited to try this, as I've been having some issues with the original fix.
For some reason, I get to "is you phone in recovery mode" (Y) and then the application closes. any thoughts?
So far all the "fixing methodes" did nothing....only twrp I was able to run on my nexus6p....I'd like to try this method too but I can't download the files.....I don't use google drive...the browser is trying to download but after 2 seconds....error...?

Knock code for nougat

Hi,
I was wondering if anyone with the expertise would know how to compile a module that was made for marshmallow to bring it to nougat. Sadly the developer has abandoned the project and closed the xda thread, while not responding to messages.
https://forum.xda-developers.com/xposed/modules/lp-knock-code-screen-t3272679
that is the module in question. I have tried to decompile the apk and recompile after making a few changes, however it just worsened the case.
mindzombies said:
Sadly the developer has abandoned the project and closed the xda thread, while not responding to messages.
Click to expand...
Click to collapse
Any chance you cloned its git repo? Not only he won't answer any message but he had the incredibly selfish-prick act of deleting the git repo for Knock code so no one can work on it!
acidrums4 said:
Any chance you cloned its git repo? Not only he won't answer any message but he had the incredibly selfish-prick act of deleting the git repo for Knock code so no one can work on it!
Click to expand...
Click to collapse
acidrums4 said:
so no one can work on it!
Click to expand...
Click to collapse
Nor kang it!
Sent from my lithium using XDA Labs
Yep, that is the main reason I haven't been able to work on it myself. Nor am i good enough to reverse engineer the apk.
Here you have the source code.
I haven't the ability to work on it for myself and it would be safer if someone more capable would do it, but at least i gave you the source code and hope it'a useful.
I would recommend you as well to open a new thread with the source code link on first page to get more people to work on it and hope we can get the knock code back.
Big ups, tell me if it was helpful.
https://drive.google.com/file/d/1bDILNuiQSCIOx2BXDGxpagGf6UeoerbJ/view?usp=drivesdk
Edit: remember this is a non-flashable zip, in case you were wondering, it's the apk just decompiled, unzip it and inside you have the whole amount of java files that contain the source code
You will need an app able to unzip files and read java files.
Otherwise download it to your computer (recommended)

Categories

Resources