[Resolved] Why Doesn't "lunch" Command Show My Device? - General Questions and Answers

I'm trying to build CM13 for the R1 HD by following this guide. I made my way through to the part where I need to issue the "lunch" command to show which devices CM can be built for. Even after (supposedly) making my own local_manifest file correctly which pulls the R1 HD device tree and kernel source from GitHub, my device still doesn't show up when I run lunch.
Here is my local_manifest file, placed in the correct local_manifest folder:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="anpage"
fetch="https://github.com/anpage/" />
<project path="device/blu/p6601" name="android_device_blu_p6601" remote="anpage" revision="master" />
<project path="kernel/blu/p6601" name="android_kernel_mediatek_mt6735" remote="anpage" revision="master" />
</manifest>
EDIT: Turns out I had to do an add_lunch_combo for cm_p6601-userdebug. Building fine now.

jasonmerc said:
I'm trying to build CM13 for the R1 HD by following this guide. I made my way through to the part where I need to issue the "lunch" command to show which devices CM can be built for. Even after (supposedly) making my own local_manifest file correctly which pulls the R1 HD device tree and kernel source from GitHub, my device still doesn't show up when I run lunch.
Here is my local_manifest file, placed in the correct local_manifest folder:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="anpage"
fetch="https://github.com/anpage/" />
<project path="device/blu/p6601" name="android_device_blu_p6601" remote="anpage" revision="master" />
<project path="kernel/blu/p6601" name="android_kernel_mediatek_mt6735" remote="anpage" revision="master" />
</manifest>
EDIT: Turns out I had to do an add_lunch_combo for cm_p6601-userdebug. Building fine now.
Click to expand...
Click to collapse
where exactly did you type the add_lunch_combo?
into what file

Stephanizgo said:
where exactly did you type the add_lunch_combo?
into what file
Click to expand...
Click to collapse
Bruh

{
"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 will never be able to build custom roms even tho I have All the binaries I need. I need to solve this. This is what the aosp wants from me

Dude this was from like 7 years ago i dont remember what i did

jasonmerc said:
Dude this was from like 7 years ago i dont remember what i did
Click to expand...
Click to collapse
Doesn't matter what matters is if u are still able to build roms by yourself

Stephanizgo said:
Doesn't matter what matters is if u are still able to build roms by yourself
Click to expand...
Click to collapse
Don't remember or know what to do, I'm sorry.

Related

3Minit Battery Mod

{
"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 mod allows you view over 1070 battery type and counting from various users. With a single click the battery will download and set itself on to your status bar.
But as stated don't worry about you storage space being used by thousands of useless icons as they are all on my server and only downloads the type you use.
1.Install app.
2.Decompile SystemUI.apk and navigate to: res/layout/status_bar.xml
3. Look for:
Code:
<com.android.systemui.BatteryMeterView android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="0.33000004dip" android:layout_marginStart="5.0dip" />
Change to:
Code:
<com.android.systemui.statusbar.policy.MinitBattery android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="0.33000004dip" android:layout_marginStart="5.0dip" />
4.Download the mod files and place them in smali/com/android/systemui/statusbar/policy folder.
5.Recompile and set permissions.
You are free to use and bake this mod and app into your rom provided you give full and proper credits and you provide a link to this thread. Also you cannot alter in any way without permission from me first.
This is not a open source project and I share with you as is. All codes belong to and are copyright to me.
My wife and kids for giving up their time with me so I can do this. Love you guys.
@pas2001 for batterys, renaming icons and testing.
@*wii360* for renaming batterys and testing.
@xxmrgreenxx for renaming batterys.
@NadMaj for his battery archive.
Disclaimer: Download at your own risk. I am not responsible for any damage/data loss etc from flashing this framework.​
XDA:DevDB Information
3Minit Battery Mod, App for the Samsung Galaxy S 4
Contributors
gharrington, pas2001
Version Information
Status: Beta
Current Beta Version: 0.1
Created 2014-07-02
Last Updated 2014-07-02
hi , how can i uninstall 3minit battery mod ( it is preinstalled in the rom i use ), i tried to uninstall it using system application remover , it was uninstalled , but when i rebooted my cellphone , the UI crashed and it kept restarting .... any idea ?
Samsung Note 3 SM-N900

[Q] Mysterious Permissions! Where did they get from?

Hello! I am really going mad!! Please help me! I am developing cm11 theme using other one as a template. But now I want to change the package name of apk!
I changed it using Eclipes, signed and recompiled it. But when i install this theme, it shows me new "Privacy" permissions with 2 items (see screenshot), that were not before (when I was using template's package name, compiling it using apktool and signing it with Zipsigner).
Is it OK to have "Privacy" permissions and these 2 items? (But I dont think so..) Or how can I remove them?
In manifest there are no changes except package and author names.
Here is the code:
Code:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:installLocation="internalOnly" package="com.my.theme">
<meta-data android:name="org.cyanogenmod.theme.name" android:value="My Theme"/>
<meta-data android:name="org.cyanogenmod.theme.author" android:value="Me"/>
<uses-permission android:name="android.permission.SET_WALLPAPER"/>
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>
<application android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name"/>
<uses-feature android:name="org.cyanogenmod.theme" android:required="true"/>
</manifest>
When I edit Manifest using Notepad and compile it Using Apktool I Get .apk file With 80KB.. When I edit manifest and smali folders and files, where is written package name, and compile it, I get normal apk but with old Package name!! What is the problem? Are there other ways to edit manifest?
{
"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"
}
Nurbolat said:
Hello! I am really going mad!! Please help me! I am developing cm11 theme using other one as a template. But now I want to change the package name of apk!
I changed it using Eclipes, signed and recompiled it. But when i install this theme, it shows me new "Privacy" permissions with 2 items (see screenshot), that were not before (when I was using template's package name, compiling it using apktool and signing it with Zipsigner).
Is it OK to have "Privacy" permissions and these 2 items? (But I dont think so..) Or how can I remove them?
In manifest there are no changes except package and author names.
Here is the code:
Code:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:installLocation="internalOnly" package="com.my.theme">
<meta-data android:name="org.cyanogenmod.theme.name" android:value="My Theme"/>
<meta-data android:name="org.cyanogenmod.theme.author" android:value="Me"/>
<uses-permission android:name="android.permission.SET_WALLPAPER"/>
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>
<application android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name"/>
<uses-feature android:name="org.cyanogenmod.theme" android:required="true"/>
</manifest>
When I edit Manifest using Notepad and compile it Using Apktool I Get .apk file With 80KB.. When I edit manifest and smali folders and files, where is written package name, and compile it, I get normal apk but with old Package name!! What is the problem? Are there other ways to edit manifest?
Click to expand...
Click to collapse
post the apk
I've already solved the problem The problem was in capability code in manifest

[GUIDE] How to add animation in Opera Mini

Hello brothers,
now, I want to share guide to add animation on Opera Mini, and you can make this guide also to other apk
1. decompile your opera mini
2. open res/layout/main.xml
add this code
<LinearLayout android:gravity="center" androidrientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.rouf.Animasi android:id="@id/rouf_anim" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
Click to expand...
Click to collapse
before this code
</merge>
like this
<LinearLayout android:gravity="center" androidrientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.rouf.Animasi android:id="@id/rouf_anim" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
</merge>
Click to expand...
Click to collapse
3. save
4. open res/values/ids.xml
add this code
<item type="id" name="rouf_anim">false</item>
Click to expand...
Click to collapse
before this code
</resources>
like this
<item type="id" name="rouf_anim">false</item>
</resources>
Click to expand...
Click to collapse
5. save
6. download smali and png of animation Here
7. after you downloaded, enter the png and animasi.xml to opmin_src/res/drawable/com/here
and add folder "rouf" to folder opmin_src/smali/here
8. and than open AndroidManifest.xml change
package="com.opera.mini.android"
Click to expand...
Click to collapse
like this
package="com.opera.mini.rouf
Click to expand...
Click to collapse
save
9. recompile.
10. after recompile you must decompile again to change id public of animasi.xml and png animations
11. open opmin_src/smali/com/rouf/Animasi.smali
12. change code id 0x7f080004 in line 37
with code id public type="id" name="rouf_anim"
and this code id 0x7f020008 in line 53
change with code id public type="drawable" name="animasi"
13. recompile, sign, install
SS
{
"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"
}
THANKS TO :
ALLAH SWT
All members and admins of Group Oprek Galaxy Y Indonesia S5360 @fb
DONT FORGET TO PRESS THANKS IF YOU LIKE MY THREAD :good:
if you want to download my latest mod of Opera Mini you can visit here

[AOSP][STOCK TW][5.0][SAMSUNG][GLOWPAD][MOD]Glowpad for stock Caller ID AOSP style

Can we ported aosp glowpad button on our stock samsung dialer android 5.0 ? Can you give an assessment as an expert please
image:
{
"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"
}
Thank you
upd i found sample of glowpad we can using it?
https://play.google.com/store/apps/details?id=net.sebastianopoggi.samples.ui.GlowPadSample
https://github.com/frakbot/GlowPadBackport
In order to use the GlowPadView in your project, follow these steps:
Ensure you have the Maven Central repository configured in your build.gradle file, eg.:
repositories {
mavenCentral()
}
This has to be in your app module's build.gradle or in the project's top-level build.gradle file. Android Studio puts it into the top-level file by default.
Add the dependency to your app's module build.gradle file, eg.:
Code:
dependencies {
// Your other dependencies...
compile 'net.frakbot.glowpadbackport:glowpadbackport:2.1.0'
}
Reference the GlowPadView in an XML layout (or initialise it from code)
Code:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<net.sebastianopoggi.ui.GlowPadBackport.GlowPadView
android:id="@+id/incomingCallWidget"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_marginTop="-10dp"
android:layout_marginBottom="-46dp"
android:background="@android:color/black"
android:visibility="visible"
android:gravity="top"
app:targetDrawables="@array/incoming_call_widget_2way_targets"
app:handleDrawable="@drawable/ic_in_call_touch_handle"
app:innerRadius="@dimen/glowpadview_inner_radius"
app:outerRadius="@dimen/glowpadview_target_placement_radius"
app:outerRingDrawable="@drawable/ic_lockscreen_outerring"
app:snapMargin="@dimen/glowpadview_snap_margin"
app:vibrationDuration="20"
app:feedbackCount="1"
app:glowRadius="@dimen/glowpadview_glow_radius"
app:pointDrawable="@drawable/ic_lockscreen_glowdot"/>
</RelativeLayout>
????
Profit!
Sample app
Click to expand...
Click to collapse
My friend finist1 make projects for aide you can using it
https://yadi.sk/d/E7xCPq8TdocFC
https://yadi.sk/d/hzZlbfa-docJq
He plug library now programmers can use it with app glowpad on full potential and take resources from it
Also this code we found in stock caller is very simmilar like glowpadsample
LegacyInCallUI\res\layout\answer_fragment.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.incallui.GlowPadWrapper android:gravity="center" android:id="@id/glow_pad_view" android:background="@android:color/black" android:focusable="true" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerHorizontal="true" dc:targetDrawables="@array/incoming_call_widget_3way_targets" dc:targetDescriptions="@array/incoming_call_widget_3way_target_descriptions" dc:directionDescriptions="@array/incoming_call_widget_3way_direction_descriptions" dc:handleDrawable="@drawable/ic_in_call_touch_handle" dc:outerRingDrawable="@android:drawable/ic_lockscreen_sim" dc:innerRadius="@dimen/glowpadview_inner_radius" dc:outerRadius="@dimen/glowpadview_target_placement_radius" dc:glowRadius="@dimen/glowpadview_glow_radius" dc:vibrationDuration="20" dc:snapMargin="@dimen/glowpadview_snap_margin" dc:feedbackCount="1" dc:allowScaling="true"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:dc="http://schemas.android.com/apk/res-auto" />
GlowPadBackport-sample-release\res\layout\main.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<Button android:id="@id/btn_toggle_padmult" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/btn_toggle_multiplier" android:layout_alignParentTop="true" />
<net.sebastianopoggi.ui.GlowPadBackport.GlowPadView android:gravity="top" android:id="@id/incomingCallWidget" android:background="@android:color/black" android:visibility="visible" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginTop="-10.0dip" android:layout_marginBottom="-46.0dip" android:layout_below="@id/btn_toggle_padmult" app:targetDrawables="@array/incoming_call_widget_2way_targets" app:handleDrawable="@drawable/ic_in_call_touch_handle" app:outerRingDrawable="@drawable/ic_lockscreen_outerring" app:pointDrawable="@drawable/ic_lockscreen_glowdot" app:innerRadius="@dimen/glowpadview_inner_radius" app:outerRadius="@dimen/glowpadview_target_placement_radius" app:glowRadius="@dimen/glowpadview_glow_radius" app:vibrationDuration="20" app:snapMargin="@dimen/glowpadview_snap_margin" app:feedbackCount="1" />
</RelativeLayout>
stock caller

[ROM][V400][6.0.1_r43][UNOFFICIAL][ALPHA-0.1] Slim6 [16th June 2016]

{
"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"
}
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Slim6, based on marshmallow 6.0.1, is now available for download! Slim6 is still in its early stages of development so if your favourite feature is not back yet, don’t worry more will be added with later releases along with additional devices.​
Features:
DPI Changer
SlimLauncher
Root access
Downloads:
ROM: v400
GApps: OpenGApps (arm, 6.0, nano - micro)
Sources:
Local Manifest (where links to all the repos are):
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remove-project name="vendor/slim" />
<remote name="am"
fetch="https://github.com/MyczkowskiAdam"
revision="slim6" />
<remote name="amSV"
fetch="https://github.com/MyczkowskiAdam"
revision="mm6.0" />
<remote name="cm"
fetch="https://github.com/CyanogenMod"
revision="cm-13.0" />
<remote name="tw"
fetch="https://github.com/TheMuppets"
revision="cm-13.0" />
<project name="device_lge_v400" path="device/lge/v400" remote="am" revision="slim6" />
<project name="device_lge_v4xx-common" path="device/lge/v4xx-common" remote="am" revision="slim6" />
<project name="vendor_slim" path="vendor/slim" remote="amSV" revision="mm6.0" />
<project name="android_kernel_lge_v4xx" path="kernel/lge/v4xx" remote="cm" revision="cm-13.0" />
<project name="proprietary_vendor_lge" path="vendor/lge" remote="tw" revision="cm-13.0" />
<project name="android_external_sony_boringssl-compat" path="external/sony/boringssl-compat"
remote="cm" revision="cm-13.0" />
</manifest>
Thanks:
XDA developers
SlimROMs Team
CyanogenMod Team
Google
and ALL THE SUPPORTERS, DONATORS, USERS
ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.4.x
ROM Firmware Required: 4.4.2 KitKat
Based On: AOSP
Version Information
Status: Alpha - Unofficial
Latest stable release: 0.1
Can dev close this thread? XDA kinda glitched and I thought it hasn't been sent so I've created another one... Thanks in advance
@Perseus

Categories

Resources