Need help creating a flashable .zip - OnePlus 3 Questions & Answers

I want to achieve the following two tasks by flashing a .zip file in recovery:
1. Open the following file:
Code:
/system/etc/permissions/handheld_core_hardware.xml​
Add in the following lines right before the </permissions> closing tag at the end:
Code:
<feature name="android.software.vr.mode" />
<feature name="android.hardware.vr.high_performance" />
2. Open
Code:
/system/build.prop
Add this line:
Code:
ro.product.device=sailfish
So how can I do it?

Lownita said:
I want to achieve the following two tasks by flashing a .zip file in recovery:
1. Open the following file:
Code:
/system/etc/permissions/handheld_core_hardware.xml​
Add in the following lines right before the </permissions> closing tag at the end:
Code:
<feature name="android.software.vr.mode" />
<feature name="android.hardware.vr.high_performance" />
2. Open
Code:
/system/build.prop
Add this line:
Code:
ro.product.device=sailfish
So how can I do it?
Click to expand...
Click to collapse
Find an existing zip so you can see the structure of the file. SuperSU would be good so it uses a shell script rather than the Android mess.
You can use the sed built in to busy box to do the rest. Just call it from your shell script.
Sent from my ONEPLUS A3000 using Tapatalk

Lownita said:
2. Open
Code:
/system/build.prop
Add this line:
Code:
ro.product.device=sailfish
Click to expand...
Click to collapse
You do not need to spoof it as a Pixel for Daydream. Just the additions to /etc/permissions will work.

SpasilliumNexus said:
You do not need to spoof it as a Pixel for Daydream. Just the additions to /etc/permissions will work.
Click to expand...
Click to collapse
Hey man, thanks for answering!!!!! I already checked your magisk module for OP3T as I was thinking about using it with my current RR rom!! Spoofing as Pixel because I read that it is important for some apps to work: https://www.reddit.com/r/oneplus/comments/5spgpb/how_to_make_your_op3t_daydream_capable_requires/

Lownita said:
Hey man, thanks for answering!!!!! I already checked your magisk module for OP3T as I was thinking about using it with my current RR rom!! Spoofing as Pixel because I read that it is important for some apps to work: https://www.reddit.com/r/oneplus/comments/5spgpb/how_to_make_your_op3t_daydream_capable_requires/
Click to expand...
Click to collapse
Nope, I've tested it on OxygenOS, RR, and LineageOS (currently running), and it's not needed at all
Also, having interest in creating a flashable zip which inserts those lines you wanted in OP as I did not want to keep adding them manually when I do a ROM update, I've did a bit of research and figured how to do it:
This one searches for the word "mode" and inserts
Code:
<feature name="android.software.vr.mode" />
below in /system/etc/permissions/handheld_core_hardware.xml
Code:
sed -i -r 's/(.*mode.*)/\1\n <feature name="android.software.vr.mode" \/>/g' /system/etc/permissions/handheld_core_hardware.xml
This one searches for the word "high_performance" and inserts
Code:
<feature name="android.hardware.vr.high_performance" />
below in /system/etc/permissions/handheld_core_hardware.xml
Code:
sed -i -r 's/(.*high_performance.*)/\1\n <feature name="android.hardware.vr.high_performance" \/>/g' /system/etc/permissions/handheld_core_hardware.xml
As those words are the only ones in that XML, it made the process pretty easy. I'm still new to using sed, so maybe someone will come up (hopefully) with an even better solution. I haven't created a flashable zip yet as I'm not home, but tested these commands in TWRP and they run perfectly.
Credits to John WH Smith on Stack Exchange for the solution: http://unix.stackexchange.com/quest...-a-new-line-after-the-test-message1-using-sed
And jherran for the replace: http://unix.stackexchange.com/quest...tribute-to-existing-xml-file-using-sed-or-awk

Flashable ZIP attached.
EDIT: Screenshot.
{
"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"
}
Spoofing it as another device will make the Daydream apps available if you do these edits on a device that is already set up and synced with your Google account
If you do the XML edits on a clean install BEFORE booting to Android, no spoofing is needed in build.prop.

SpasilliumNexus said:
Flashable ZIP attached.
Click to expand...
Click to collapse
Thanks a lot! I just tested without sailfish spoofing in buildprop and the app called "Within" didn't work properly. After I added the line back, it worked again!

Related

Creating my 1st theme

Well I am now finally going to create my first theme and I am getting myself pretty familiar with everything but I had a question...
I know the stuff that cannot be messed with and all seeing as how I am working with the cm builds but would anyone know where I could find the terminal stuff. I wanted to change up that icon if I could to something a little more theme filling?
Thanks in advance and as soon as I get something going I will posts images.
brilliant - i for one look forward to seeing you work.
but sorry, can't help you with your Q.
APEX.7 said:
brilliant - i for one look forward to seeing you work.
but sorry, can't help you with your Q.
Click to expand...
Click to collapse
Terminal stuff?
/apps/term.apk has the terminal app 'stuff'
All you can change images wise is the terminal icon basically.
Are you just wanting to change the terminal icon (such as in the drawer?)
If thats the case, open the apps folder in your ROM and find the term.apk and open that. navigate to the drawable folder and the icon is in there.
Thats cool. Thanks for the confidence boost on creating...
Yeah pretty much just the icon...And thanks all for the help
Question...yet again...
I am using the auto signing program and am signing my little beta theme for testing and when I am loading it via the recovery mode I get E:Can't find update script. I am still new so if any help I would appreciate much.
Also should I include the fonts folder just as a precaution. I am not including that in my theme as I know there is the font chooser program out there as well so I figure let people have there own choice in font...again thanks
Yeah you need an update script, which will be found at /META-INF/com/google/android/update-script
and should look like this:
Code:
copy_dir PACKAGE:framework SYSTEM:framework
copy_dir PACKAGE:system SYSTEM:
or something along those lines.
This script is assuming your zip file contains the following structure:
/framework
/system
/system/app
There is a simpler one that only needs to contain the second line and has the structure like this:
/system
/system/app
/system/framework
daveid said:
Yeah you need an update script, which will be found at /META-INF/com/google/android/update-script
and should look like this:
Code:
copy_dir PACKAGE:framework SYSTEM:framework
copy_dir PACKAGE:system SYSTEM:
or something along those lines.
This script is assuming your zip file contains the following structure:
/framework
/system
/system/app
There is a simpler one that only needs to contain the second line and has the structure like this:
/system
/system/app
/system/framework
Click to expand...
Click to collapse
Ah ok...Any idea where I can get that file or folder by chance?
holmes901 said:
Ah ok...Any idea where I can get that file or folder by chance?
Click to expand...
Click to collapse
Here is a completely blank update.zip that has a proper update script in it, drop your files in re-sign, and go.
daveid said:
Here is a completely blank update.zip that has a proper update script in it, drop your files in re-sign, and go.
Click to expand...
Click to collapse
Thanks so much for the download and the help.I should be good to go now so no more worries.
So far what I have for my first
So the screen below shows what I have so far...I am still working on it and hoping I can get the blur transitions into the mix as well as maybe more or better icons...If anyone has a link where I could get the blur transitions from feel free to send my way.
{
"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"
}
holmes901 said:
Question...yet again...
I am using the auto signing program and am signing my little beta theme for testing and when I am loading it via the recovery mode I get E:Can't find update script. I am still new so if any help I would appreciate much.
Also should I include the fonts folder just as a precaution. I am not including that in my theme as I know there is the font chooser program out there as well so I figure let people have there own choice in font...again thanks
Click to expand...
Click to collapse
Same problem. Even with the update script in there from the template update folders, I still get this error. I seem to have the resigning working. Any idea how to fix this error?

[MOD][GUIDE][GB]Guide to ICS styled pattern lockscreen with reduced thickness

Guide to changing path thickness of Pattern Lockscreen to ICS style​
I wandered places searching this off. I found some traces in direction of my destiny but none of them worked fully correctly
So, as stated, I searched a lot for this mod and came face to face with failures and smali errors. So, I had to figure it out myself some modification to do in it to make it work.
This guide was made by me a while ago but I thought on sharing this here as this is very active community
Note: IT is not COMPLETELY my mod but I have done modifications in it to make it work. This is based on a guide for Froyo outside of XDA. So, I have ported it to gingerbread after some small smali modifications.
Pre-Requisites:
1. PC with Java JDK or JRE
2. Deodexed ROM
3. 7-Zip
4. classes.dex decompiling tool
5. Notepad++
6. Patience
7. Carefulness for editing smali files
Let's Start
1. First we would have to decompile classes.dex inside framework.jar
For that, you can use my Tool ROM Tool v3
First using 7zip, Right click on your framework.jar and open it as archive and drag and drop classes.dex in input folder of the tool
(Note: If you don't have classes.dex in framework.jar [only META-INF and preloaded-classes.dex], then your framework isn't deodexed)
Now, open Script.bat and choose 1 (Decompile classes.dex)
2. Now, we will make the changes. Go to decompiled folder and go to \classout\com\android\internal\widget and open LockPatternView.smali in Notepad++
Search for mDiameterFactor:F [Ctrl+F]​
See the code above it.
It should be like this:-
Code:
const[COLOR="Red"]/high16[/COLOR] v2, 0x3f00
If it is, then you will have to remove red part /high16
Because it will not allow the change of code we will be doing which will have a different hexadecimal value which will not be supported till this code is in effect
Now, it will look like this:-
Code:
const v2, 0x[COLOR="Red"]3f00[/COLOR]
Now, we will change the thickness value 3f00 to 3dcccccd
Final code will look like this
Code:
const v2, 0x3dcccccd
Save it
I am attaching final and before smali for comparison below.
View attachment 1936707
(Note: If you don't have /high16, it's good , then just just change the value and save)
3. Go to Script.bat again and choose 2 (Recompile classes.dex) and after it's done, you will get classes.dex
Drop it in framework.jar
4. Push framewotk.jar in /system/framework
Eg:
Copy it in platform-tools folder of android SDK and type following with pressing Enter after each command
Code:
adb remount
adb push framework.jar /system/framework/
adb shell chmod 644 /system/framework/framework.jar
adb shell killall system_server
Last command will Hot Reboot your phone to apply changes. It is fast and better than rebooting phone.
5. Enjoy
Screenshots
{
"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"
}
Before
After
Credits​
A member from other forum to answer a question to other member of that forum
Google for letting me search somethings
Samsung Galaxy Ace s5830i members for supporting me so much :highfive:
http://forum.xda-developers.com/showthread.php?t=2264849
Sent from my GT-S5830i
Mohinkx said:
http://forum.xda-developers.com/showthread.php?t=2264849
Sent from my GT-S5830i
Click to expand...
Click to collapse
I know. I shared here as many people would not reach there
thanks bro, very nice guide :good: :good: :good: :good: :good: :good:
hey whats that script.bat??
well i extracted frmwrk.jar i got classes.dex . what to do nw??
Yeah.. I got..its very very nice..
Sent from my GT-S6802
Just one suggestion type these
Code:
iput v2, p0, Lcom/android/internal/widget/LockPatternView;->mDiameterFactor:F
code instead of
Code:
mDiameterFactor:F
for searching.
Hitesh2626 said:
Just one suggestion type these
Code:
iput v2, p0, Lcom/android/internal/widget/LockPatternView;->mDiameterFactor:F
code instead of
Code:
mDiameterFactor:F
for searching.
Click to expand...
Click to collapse
the reason why he used that is because the iput v2,p0 code differs per device.
mDiameterFactor instead not
Sent from my Acer S500 CloudMobile
SpaceCaker said:
the reason why he used that is because the iput v2,p0 code differs per device.
mDiameterFactor instead not
Sent from my Acer S500 CloudMobile
Click to expand...
Click to collapse
Oh Ok
well nice guide....
will definately try to reduce thickness of my pattern lockscreen...:good:

[TUT] Compile Genom Kernel from Source Code for ONC

Hello everyone,
This is a tutorial on how to compile kernel from source code for our device Redmi 7
Special thanks to @rama982 for making Xiaomi source code usable, upstreaming kernel to latest CAF tag and integrating Wifi drivers
So basically to compile kernel from source code we will have to do 4 steps
1. Setup build environment
2. Install required packages
3. Download source code
4. Compile kernel
1. Setup build environment
Setup your favorite linux distro (I recommend using Ubuntu because it is user friendly).
You use virtual box or install linux to a separate partition if you are a Windows user.
2. Install Required packages
Open up terminal and run this command
Code:
sudo apt-get update
Terminal will ask for your password...This is normal....enter your password and press enter
Then run this command
Code:
sudo apt install bc bash git-core gnupg build-essential zip curl make automake autogen autoconf autotools-dev libtool shtool python m4 gcc libtool zlib1g-dev flex
You will get a question with (yes or no) in terminal....you have to press y then enter
3. Download source code
Code:
mkdir android && cd android
mkdir kernel && cd kernel
mkdir xiaomi && cd xiaomi
git clone https://github.com/rama982/android_kernel_xiaomi_onc.git onc
This will download the source code to /home/android/kernel/xiaomi/onc
You PC will download around 1.2 GB....this may take sometime depending on your internet connection speed
4. Compile kernel
One of greatest thing that @rama982 did was to embed a build script that make our lives way easier while compiling the kernel
You might need to change the kernel directory variable to your own path
Code:
KERNEL_DIR=${HOME}/$(basename $(pwd))
to
Code:
KERNEL_DIR=/home/android/kernel/xiaomi/onc
Once done editing build.sh file...let's compile the kernel
Code:
cd /home/android/kernel/xiaomi/onc
chmod a+x build.sh
./build.sh
chmod command is to make build script excutable
the build script will clone toolchains required to compile the kernel and will also clone Anykernel3 which is very useful to make the final flashable zip file.
Once the build script has done its magic you will get your flashable zip in /home/android/kernel/xiaomi/onc/Anykernel3
I hope i made every step as clear as possible
I am available for any questions
Best Regards
Credits:
Xiaomi developers
@rama982
Nice tutorial. I will give a shot when I am free. Thank you.
where is build.sh file ? remove ?
Check his github repos.
doesn't work
{
"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"
}
apt-get update
apt-get -y install libqt4-dev pkg-config
kairusds said:
doesn't work
Click to expand...
Click to collapse
The tutorial is a bit outdated because Rama deleted onc-rebase branch...also now his sources doesn't has build scripts
I'll update it soon
Best Regards
@mylove90
Your stock branch working only the wifi when I change the CONFIG_PRONTO_WLAN=y to CONFIG_PRONTO_WLAN=m
Why only working with module?
Zer0nite said:
@mylove90
Your stock branch working only the wifi when I change the CONFIG_PRONTO_WLAN=y to CONFIG_PRONTO_WLAN=m
Why only working with module?
Click to expand...
Click to collapse
I guess you are building for Miui...i adjusted my branch for Rom builders to build kernel inline with custom Roms with source built vendor..
Best Regards
mylove90 said:
The tutorial is a bit outdated because Rama deleted onc-rebase branch...also now his sources doesn't has build scripts
I'll update it soon
Best Regards
Click to expand...
Click to collapse
build with semaphoreci.sh works perfectly on micode sources, and the special thing is after the build is complete, kernel.zip is sent to the telegram channel itself
Really thank you

Get three button nav back, hack.

Warning!: This will uninstall the default launcher! You're on your own if you want to get it back!
You'll need to install a third party launcher BEFORE you do this.
So I searched for a way to get three button navigation back since you can not enable it through gestures in system settings. Idea is from this page: disable android pie gestures google pixel 3
But instead of: pm uninstall -k --user 0 com.google.android.apps.nexuslauncher
You do this: pm uninstall -k --user 0 com.android.launcher3
The rest of the instructions are the same.
{
"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"
}
This change my whole experience using the phone, thank you !!
If there's anyone with experience in APK compilation (especially with overlays), it should be possible to add missing toggle into settings with a very simple overlay.apk (similar to AOD enabler). I can't compile it with Android Studio for some reason
Code:
[B][U]bools.xml[/U][/B]
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="config_swipe_up_gesture_default">false</bool>
<bool name="config_swipe_up_gesture_setting_available">true</bool>
</resources>
[B][U]public.xml[/U][/B]
<?xml version="1.0" encoding="utf-8"?>
<resources>
<public type="bool" name="config_swipe_up_gesture_default" id="2130837531" />
<public type="bool" name="config_swipe_up_gesture_setting_available" id="2130837532" />
</resources>
IDs in public.xml might be different, I found them in one APK from 4pda forum (it's for the same purpose, but it contains quite a lot of other possibly unrelated changes).
really really thanks ,,, wondering Re-arrange the nav buttons (back button on right side)
TiagOverminD said:
really really thanks ,,, wondering Re-arrange the nav buttons (back button on right side)
Click to expand...
Click to collapse
This app can do it easily https://play.google.com/store/apps/details?id=xyz.paphonb.systemuituner
Or you can play with ADB as described here https://www.xda-developers.com/how-...icons-or-re-arrange-the-buttons-without-root/
How to return back to stock
vishwadeepmanu said:
How to return back to stock
Click to expand...
Click to collapse
i think you have to re-install Quickstep launcher as described here for Pixel: https://www.xda-developers.com/disable-android-pie-gestures-google-pixel-3/
Tried that and works well, but recent apps list becomes vertical, is there a way to keep it sideways like stock?
airon11 said:
Tried that and works well, but recent apps list becomes vertical, is there a way to keep it sideways like stock?
Click to expand...
Click to collapse
I wonder the same.
Not really possible with this approach - new recents menu is provided by launcher3, so if you uninstall it, system must revert to old recents defined in systemUI.
If you have Magisk installed, you can use a magisk module called Pix3lify, it makes your phone look more like Pixel and also enables option to go back to three button nav
zenkhas said:
If you have Magisk installed, you can use a magisk module called Pix3lify, it makes your phone look more like Pixel and also enables option to go back to three button nav
Click to expand...
Click to collapse
Thank you very much....I am not interested in all other features but I might take a look at the module to see ifni find a way to only enable that feature in menu...
Awsome, if you want to return to normal, just reinstall quickstep, so make a backup of it becote doing it!
If anyone needs to go back to stock launcher and don't have the apk, i found one here
https://www.apkmirror.com/apk/xiaom...2-9-release/launcher3-9-android-apk-download/
Can't guarantee if this is the original one or if it's safe. After installing it, I had to reboot before it worked properly.
though I'm okay with the gestures, I feel more at home with the nav bar and the usual functions lol
Hello,
I have done this "hack" from the OP and when updated to Android 10 the recent button stopped working.
Does anyone know where can I find the Quickstep for MI A3 from Android 10 rom?
I would very much appreciate if someone shared a link to the apk or uploads it here.
Thank you very much.
Aleksandar
I am with Build Number: qssi-user 10 QKQ1.190910.002 V11.0.8.0.QFQEUXM
And both of the launcher3 apk files do not work for me. They crash when selected for default app. I actually just need the "recent apps button" working again, I hate the launcher3, but I do not know how to make it happen.

(Q) Android oreo for galaxy nexus

Hi everyone i want to have a oreo rom for galaxy nexus? Thanks
I don't have this device, but you can build from sources, and clone from trees:
https://github.com/Galaxy-Nexus/android_device_samsung_tuna/tree/lineage-15.0
https://github.com/Galaxy-Nexus/android_kernel_samsung_tuna/tree/lineage-15.0
https://github.com/Galaxy-Nexus/proprietary_vendor_samsung/tree/lineage-15.0
notnoelchannel said:
I don't have this device, but you can build from sources, and clone from trees:
https://github.com/Galaxy-Nexus/android_device_samsung_tuna/tree/lineage-15.0
https://github.com/Galaxy-Nexus/android_kernel_samsung_tuna/tree/lineage-15.0
https://github.com/Galaxy-Nexus/proprietary_vendor_samsung/tree/lineage-15.0
Click to expand...
Click to collapse
Can someone/Is someone willing to build this for the Galaxy Nexus? I was not able to find a proper documentation on how to do this
doxtsgaming said:
Can someone/Is someone willing to build this for the Galaxy Nexus? I was not able to find a proper documentation on how to do this
Click to expand...
Click to collapse
[GUIDE/HOW-TO] Building LineageOS for an Unsupported Device
Foreword: This is my own notes I created to build LOS for my device (SM-T713 or gts28vewifi). After reading this, I encourage you to create your own notes as it will help you better understand the build process. I followed the official guide...
forum.xda-developers.com
for second step, clone https://github.com/Galaxy-Nexus/proprietary_vendor_ti to proprietary/vendor/ti
https://github.com/Galaxy-Nexus/android_device_samsung_tuna/tree/lineage-15.0 to device/samsung/tuna
https://github.com/Galaxy-Nexus/android_kernel_samsung_tuna/tree/lineage-15.0 to kernel/samsung/tuna
https://github.com/Galaxy-Nexus/android_hardware_ti_omap4
to hardware/ti/omap4
https://github.com/Galaxy-Nexus/proprietary_vendor_samsung/tree/lineage-15.0 to proprietary/vendor/samsung
and clone the lineage-15.0 repo instead of 17.1
AND SKIP STEP 5!!! IMPORTANT
notnoelchannel said:
[GUIDE/HOW-TO] Building LineageOS for an Unsupported Device
Foreword: This is my own notes I created to build LOS for my device (SM-T713 or gts28vewifi). After reading this, I encourage you to create your own notes as it will help you better understand the build process. I followed the official guide...
forum.xda-developers.com
Click to expand...
Click to collapse
Thx. Maybe I'll write and publish my own detailed guide for this specific device. Am I allowed to share my built LOS 15.0 ROM image from this source?
doxtsgaming said:
Thanks for your help. I'm doing this the first time and I'm wondering, how to get a device manifest file and how the resulting .xml file should be named. In addition of that, I want to ask, if I can write and publish my own detailed guide for this specific device. I'm pretty sure I am not allowed to share my built LOS 15.0 ROM image from this source.
Click to expand...
Click to collapse
you are allowed to share your los 15.0 rom
Ok. Thanks for your help
I'm stuck now at the select command after chosen aosp_arm-eng (lunch command). Sry, I'm a bit clueless, but what should I choose as input?
doxtsgaming said:
I'm stuck now at the select command after chosen aosp_arm-eng (lunch command). Sry, I'm a bit clueless, but what should I choose as input?
Click to expand...
Click to collapse
https://github.com/Galaxy-Nexus/android_device_samsung_maguro/tree/lineage-15.0 clone this repo (git clone https://github.com/Galaxy-Nexus/android_device_samsung_maguro -b lineage-15.0 device/samsung/maguro)
and type lunch full_maguro-userdebug
and important!!! skip step 5
lunch option full_maguro-userdebug doesn't seem to work. I received a message.
{
"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"
}
I have two device directories one for tuna and one for maguro.
doxtsgaming said:
lunch option full_maguro-userdebug isn't available. Do I have to collect blob information from the device first (./extrace-files.sh)? This also doesnt worked for me.
Click to expand...
Click to collapse
can you show me the lunch options?
notnoelchannel said:
can you show me the lunch options?
Click to expand...
Click to collapse
after executing source build/envsetup.sh
Also I get many adb errors running ./extract-files.sh in maguro folder even I've installed android-platform-tools-base.
doxtsgaming said:
after executing source build/envsetup.sh
View attachment 5666829
Also I get many adb errors running ./extract-files.sh in maguro folder even I've installed android-platform-tools-base.
View attachment 5666835
Click to expand...
Click to collapse
you chose 15. full_maguro-userdebug
then what does it display?
That will show:
Okay, now type brunch full_maguro-userdebug
notnoelchannel said:
Okay, now type brunch full_maguro-userdebug
Click to expand...
Click to collapse
I stumbled across another error:
doxtsgaming said:
I stumbled across another error:
View attachment 5666863
openjdk-8-jdk and openjdk-11-jdk are installed.
Click to expand...
Click to collapse
Make cannot find tools.jar
Running Ubuntu 12.04 I have added to PATH: /home/jeffrey/jdk1.6.0_43/lib I am attempting to build from source using Make: make -j16 But encounter the error: build/core/config.mk:268: *** Error:
stackoverflow.com
I've reinstalled both jdk 8 and 11. Does anyone know how to solve this new error? thx for help.
doxtsgaming said:
I've reinstalled both jdk 8 and 11. Does anyone know how to solve this new error? thx for help.
View attachment 5668049
Click to expand...
Click to collapse
by removing the
ADDITIONAL_DEFAULT_PROPERTIES += ro.adb.secure=1
on config/common.mk resolve the problem.
by removing the
ADDITIONAL_DEFAULT_PROPERTIES += ro.adb.secure=1
on config/common.mk resolve the problem.
Click to expand...
Click to collapse
config/common.mk doesn't exist in my case. It doesn't seem to contain ADDITIONAL_DEFAULT_PROPERTIES += ro.adb.secure=1. Removing PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.adb.secure=1 didn't work. File path: android/lineage/vendor/lineage/config/common.mk
Thx for any help, as its my first time building a rom.

Categories

Resources