yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] tinybilbo:
Anyone having trouble with their windows machine and accessing MTP with this rom?

I having everything running smoothly, I just can't see the Nexus in the windows file manager (explorer).

ADB works ok. I have enabled the MTP from the pull-down on the Nexus itself. Running WIn7..

Thanks
[Nexus 7 Android Development] PaulG2000:
Seems like everyones deserted & gone away!!

Anyway, I'm no authority on anything, but, to answer your question, my MTP is working fine. Windows 10 sees the Nexus and files transfer OK.
[Nexus 7 Android Development] abhifx:
MTP is working fine here.. usb cable issue maybe? or port
[Nexus 7 Android Development] eNVy:
My default USB configuration is always MTP. I have to manually change to charging. After a restart, it changes back to MTP.
[Nexus 7 Android Development] Troublicious:
Thank you for this wonderfull rom aaopt ! Do you think you can include widevine in next release ? ? ?
[Nexus 7 Android Development] tinybilbo:
Thanks for the replies... :)

It was in fact a driver issue (as always).

However only the ADB was showing up, and after messing about installing various different drivers, a 2nd "Unknown" device appeared. I was then able to correctly install a MTP USB Device
[Nexus 7 Android Development] cable_guy:
Hi all, Thanks for Android 7 on our Nexus 7 device!

I am new to flashing ROMs on N7 but it's rooted and wonder if it's really as simple as just downloading the rom and flashing it with TWRP? On other devices I've rooted previously they've been a pain with differing partition sizes etc ...

Also it says that you need to flash picogapps, can someone point me out as to where that is please? is that the play store?

EDIT: Just seen this http://opengapps.org/ but am I right that I choose on this device ARM & 7.1 & PICO as the options please?
[Nexus 7 Android Development] fraddy91:
No way it will work. You need to create a text file called gapps-config.txt with configuration you need to include, exclude, install, like

NoDebug
Include
#Remove
BasicDreams
Browser
CalendarStock
ClockStock
#Install
ContactsGoogle
KeyboardGoogle

You can read more about custom install here: https://github.com/opengapps/opengapps/wiki/Advanced-Features-and-Options

Or you can use open-gapps Aroma variant, and configure your installation in GUI from recovery, select what to delete and what to install. This is much faster and easiest method.
[Nexus 7 Android Development] pensioneer:
Hi. Every time when I install new build i have to reinstall gapps and remove all existing apps like gmail or google keep which were installed earlier, because now they always crashes. And then install them again from "new" play store. is it normal?
[Nexus 7 Android Development] aaopt:
Afraid not. Tried updating widevine libs to match AndDiSa's but I saw no indication that they were actually working. That build was also unstable so I didn't post it. I removed widevine and built again, but still unstable... need to track down why somehow. Specifically I am sometimes getting the screen shutting off and tablet becomes completely unresponsive... not completely sure but it might partly be triggered by adjusting brightness.

Anyway, that's why I haven't posted any update this week. (Not that I plan to update every week... but this week I tried.)
[Nexus 7 Android Development] Troublicious:
Anyway, thank you for your efforts ! Stupid/f*cking DRMMMMMs !! ?
[Nexus 7 Android Development] abhifx:
damn! i was actually hoping that 7.1.1 in CM would fix more bugs as my other devices are doing fine. i hope you crack down the culprit. i have lots of time anyway :D
[Nexus 7 Android Development] abhifx:
Well with CyanogenMod getting shut... I guess this project should also move on. How about omni rom? Aicp?
[Nexus 7 Android Development] nothingman1976:
Can this rom be installed on 3g version ? I dont' mind if I loose 3g funcrionality because I dont use it..

Inviato dal mio H60-L12 utilizzando Tapatalk
[Nexus 7 Android Development] eNVy:
Lineage OS is coming.
[Nexus 7 Android Development] Serious_Lee:
Yes! You need to flash the grouper version of twrp recovery and you are good to go. I am doing the same with mine.
[Nexus 7 Android Development] agentfazexx:
Can anyone link to a working GApps zip compatible with this ROM? Nothing in the OP.
[Nexus 7 Android Development] turnert:
You need the Gapps config to install Gapps, once you download it add .Txt at the end of it and place it in the same directory as your Gapps and it should install
[Nexus 7 Android Development] agentfazexx:
Which text file is that? Which directory?
[Nexus 7 Android Development] turnert:
Download this https://www.mediafire.com/download/0fr157uhs3bf55h (already renamed with .txt) and put it in the same folder as your gapps then see if it works
[Nexus 7 Android Development] agentfazexx:
Oh, same folder as the zip file?
[Nexus 7 Android Development] turnert:
Yes
[Nexus 7 Android Development] cdb8457:
Turnert can you repost that file. This is the step I am stuck on. Thank you
[Nexus 7 Android Development] turnert:
https://www.mediafire.com/download/0fr157uhs3bf55h sorry about that this link should work
[Nexus 7 Android Development] cdb8457:
I posted that exact file into the gapps and I am still getting error 70
[Nexus 7 Android Development] turnert:
Is it in the same directory as your Gapps zip?
[Nexus 7 Android Development] cdb8457:
See attached photo right location?
[Nexus 7 Android Development] aaopt:
Not in the zip... Next to it, in the same directory on the device.
[Nexus 7 Android Development] turnert:
No just put your Gapps.zip in your downloads folder on your nexus then put the gapps config in your downloads folder. Do not extract the gapps.zip and put it in.
[Nexus 7 Android Development] cdb8457:
I know I must be doing this wrong now. I was flashing Gapps via Nexus tool kit, it has a flashing tool for nexus devices. I should probably do this a different way?
[Nexus 7 Android Development] aaopt:
Not familiar with Nexus tool kit but it looks like it should work: use the push/pull files to copy both the .zip and the .txt file to some folder on the device, perhaps /sdcard, then choose "file is already on sdcard" before pushing "flash zip".
[Nexus 7 Android Development] cdb8457:
I figured it out! Thanks to everyone for the help!
[Nexus 7 Android Development] aaopt:
Indeed, that will eventually be the path of least resistance. Meanwhile CM seems to be not quite dead yet. Here is a build I am testing where among the usual fixes they have re-added Live Display, which does what Twilight does. That's one feature I've been missing from CM13. I'll update OP in a day or two if it seems stable but the more adventurous among us can test along with me and express an opinion.

Also rumor has it that if you, like me, have been reusing a slightly outdated opengapps zip, older than the currently available 17-Dec build, it might be worthwhile to update your opengapps now.
[Nexus 7 Android Development] abhifx:
it seems aicp is already tracking lineage OS, CM build is already stable enough to chug along till it revives.

also few more days and i should be back in action (or go down altogether).
[Nexus 7 Android Development] hanschke:
great rom. will you sync to the nightly from 25. because it is the latest available build before change?
[Nexus 7 Android Development] aaopt:
See #92
[Nexus 7 Android Development] hanschke:
thank you I will try this build but I have got a problem I cannot install nano gapps. No space :( what can I do?
[Nexus 7 Android Development] :
Try Pico GApps
[Nexus 7 Android Development] 123x:
Hi, is this ROM faster than CM 12.1 nightly with ParrotMod?

Also, can I dirty flash from CM 12.1?

Thanks!
[Nexus 7 Android Development] aaopt:
So, anyone have any opinion about whether I should rename this thread to Lineage or make a new one?
[Nexus 7 Android Development] turnert:
You should make a new thread for future reference.
[Nexus 7 Android Development] aaopt:
This is a special kind of democracy where the first vote wins. (Today anyway.) New thread is here.
[Nexus 7 Android Development] arnofor:
erased... wrong place...
[Nexus 7 Android Development] meteoro84:
i cant donwload cm-14.1-20161226-UNOFFICIAL-grouper.zip.md5sum , size 128B , please check the link , thks
[Nexus 7 Android Development] turnert:
You don't need the md5 file(it is recommended)

And there is newer versions of this ROM in a new thread.(lineage is)
[Nexus 7 Android Development] Cosmic_Commander:
I'm pretty new here...Recently i have sucessfully installed Android L in my nexus 7 2012 asus tablet the rom is cm12.1 grouper..I want to install this rom but can't quite understand on github what steps i should take so that gapps work as well on this rom of cm14.1 . I have Nandroid backup both on tablet as well as pc and a titanium backup of all my userapps and data please guide me what should i do to make this rom fully functional with gapps in my tablet ? I need clarification regarding the gapps part and what to do specifically so that when i install gapps nano version from opengapps.org site of android 7.1 it works as expected without any stability issues.
[Nexus 7 Android Development] Quinnshank:
Proper link to .zip file

Here is the right link for this file https://www.androidfilehost.com/?fid=529152257862685812
[Galaxy Note 4 Q&A, Help & Troubleshooting] Ranop11:
Is it possible to force fast charge on not official charger I have 3.1amp charger so it should be enough, any thoughts?
[Remix Mini General] ozymandious:
I know this might be a very specific use case but I was wondering, is there a way to stream a game from Steam Running on my Macbook Pro to the Remix Mini and have it be playable with a controller?

Some quick internet research has told me that it is possible with a PC running windows but I don't think so with a mac.

Even with the Nvidia Geforce Experience (PC only app)

For what it's worth here's what I'm running

[IMG="Macbook Pro Specs"]https://lh3.googleusercontent.com/x4u7jMfyH1PNCSSphSq-cxFE_v0vX8xNLv9Ae6F3gjCnzGkYjJuxuQWromGS-8NmoL5qjuVWpWvE6wqYLhsRv0oDG6PUkGUnvLZjDZN_R3MGKxMCixZMc8VY3R2D4dZyuB3R5DviKBtDIZw9Aw_vXnfUCnOe1iL8hoFNb8K3E0VMXcLflYLfE1Efq52Ed-cKO61RctRY4jFUK1P4j-lUVLwwQJcyrQw3GgsChpMfGeSznL1ya5OgylynLemIU-Eejn0BsFkUGeNyHd2kU3mpxhvXgbHR-GkPmsKuEAkjMUBY8PGcPFQ9yue_n1WmcFCYziJ8hSEOEjq4iZREmUO9QkzfZE0YSVdnv2faC0yvrWkXIEETcqX7oi9x82GxEmBHJ-77Aj_Mnixn2IGkFqzwgHZpK9w37umHnhfwivq49PC6XTrSOuDQs2EGE9mtaCTopbd_xWOHgc4O4DjhTSOWAutbvm8XXFezQekzvUbzUlPO7ExNp5APUz3NXiSk9t7-gLgipyqINQ18TjJu51UzCIH2WN3n3jaB0pb7B24bvrN2QlKCfprbeFzhJtgVH25F3uEKEpEOqxUSOj4Ks1hiEp_OXr1DvLbtHI1umqaYcBt8sJ_TMQ=w698-h480-no[/IMG]

and you know what the Remix mini can do.

(I have the 2Gig RAM version)

Is there a way to do this?

cheers guys!
[Remix Mini General] wastate2014:
http://moonlight-stream.com/

You might take a look at the link above not sure maybe it will be of help:) Had a contact send this to me when I asked about your question.
[Remix Mini General] ozymandious:
Tried, it requires you to download the GeForce Experience which is PC only at this point. :(

So no easy way to do it natively at this moment. Thanks for the suggestion though.
[Remix Mini General] sergiocrxd:
With nvidia graphics card you can try Moonlight stream
[Remix Mini General] aperture:
in order to use moonlight even you do bootcamp is GTX nvidia card and not a GT.
[General Topics] Dzl210:
Made the mistake of getting a water damaged phone on eBay that I fixed and discovered FRP is a thing now. I've tried every tutorial for the past two days to get this thing going with no luck EXCEPT I can dial 112 (911) and when they answer I can open a browser. I kinda panicked when they answered after dialing 112 and closed the browser trying to get it to hang up.

I prefer not to waste a dispatcher's time and possibly get the cops knocking, so I'm looking for a work around that'll just give me the "Your call cannot be completed as dialed".
[Galaxy S 5 Q&A, Help & Troubleshooting] LMartins.338:
Hello after much trying to restore the original IMEI of my G900M without success I ended up taking in a technical assistance, then they managed to bring the IMEI back so that now it is only in emergency calls and when I try to make calls it is not registered in the network, typing The code * # 0011 # I have the menu as you can see in the screen attached (IMEI Certi: Fail) and (Network: Blocked), some way to get tidy without having to go back there? Being very far from my house. :(
[Android General] asc1977:
Guides Android 7

I decided after a long thinking about to open a new thread for modding guides for Android 7 because i see that there are much differences to older Android versions. So we keep up to date to make life easier. I hope all agree with me in that and share like me guides here. If you didnt agree with me keep your mind by yourself please and dont make my life harder ;)

Thanks

Framework-res.apk and services.jar

How to add Reboot Recovery Android 7 Style with toggle

Services.jar

Howto remove confirm buttons in Reboot menue for shutoff and reboot

USB Plug/Unplug disable wake up with toggle in RomControl

How to hide (Power Menu) Emergency Button with a Toggle

How to hide (Power Menu) Power Off Button with a Toggle

How to Disable Signature Check

Remove Volume Safe Warning with checkbox

GooglePackageInstaller.apk

Granting permissions dialog - Ok button always available with window (or alert) overlays

SamsungCamera6.apk

Another way of using Camera Flash on low battery

SystemUI.apk

Guide - SysScope - Status = Official

SystemUI.apk

How to enable Lockscreen rotation with toggle in RomControl V2

How to unlock after reboot with fingerprint without pin or pattern

Network traffic indicator in status bar

GearUtils

How to open app if click on statusbar clock

Adaption for 6thGear Data Usage Preferences on the fly without observer and without CSC changes

Adaption of Gear device info in notification panel

Adaption of 6htGear Carrier label preferences - as ADDITION to 6thGear device info mod

How to Make Data Usage Center From Right in Notification Panelwithout RomControl

How to add virtual lock, recent and home button to statusbar with RomControl

Add Battery Bar to ROM

How to make a option to choose between Stock and 3Minit battery

Volume safe warning to be permanently disabled (at bottom of post)

SecSettings2.apk

Activate duration keys lighting in the setting

How to build 0.25x anmimation scale in developer options

Different mods

Nougat compatible -=V6=- 1060 FONTS

Whitepages /identify unsaved numbers

​
[Android General] asc1977:
reserved1
[Android General] thereassaad:
Interesting ,,
[Android General] asc1977:
Howto remove confirm buttons in Reboot menue for shutoff and reboot

decompile

open services.jar/com/android/server/policy/GlobalActions

goto method

.method public constructor <init>(Landroid/content/Context;Landroid/view/WindowManagerPolicy$WindowManagerFuncs;)V

scroll down and find and delete this lines. ID´s maybe different

const v1, 0x1080a25

iput v1, p0, Lcom/android/server/policy/GlobalActions;->mPowerOffIconResId:I

const v1, 0x1080a26

iput v1, p0, Lcom/android/server/policy/GlobalActions;->mConfirmPowerOffIconResId:I

const v1, 0x1080a27

iput v1, p0, Lcom/android/server/policy/GlobalActions;->mRestartIconResId:I

const v1, 0x1080a28

iput v1, p0, Lcom/android/server/policy/GlobalActions;->mConfirmRestartIconResId:I
[Android General] asc1977:
USB Plug/Unplug disable wake up with toggle in RomControl

Decompile Services.jar

Go to smali/com/android/server/power/PowerManagerService.smali

find and add blue and remoce red

invoke-static {}, Landroid/os/SystemClock;->uptimeMillis()J

move-result-wide v2

invoke-direct {p0, v13, v11, v8}, Lcom/android/server/power/PowerManagerService;->shouldWakeUpWhenPluggedOrUnpluggedLocked(ZIZ)Z

move-result v1

[COLOR="Blue"]iget-object v5, p0, Lcom/android/server/power/PowerManagerService;->mContext:Landroid/content/Context;

invoke-virtual {v5}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v5

const v4, 0x1

const-string/jumbo v6, "usb_plugged"

invoke-static {v5, v6, v4}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v4

if-eqz v4, :cond_4[/COLOR] [COLOR="Magenta"]# this cond must match :cond after that line[/COLOR]

if-eqz v1, :cond_4

if-eqz v12, :cond_4

new-instance v1, Ljava/lang/StringBuilder;

invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

iget-object v4, p0, Lcom/android/server/power/PowerManagerService;->mScreenOnReason:Ljava/lang/String;

invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

move-result-object v1

const-string/jumbo v4, " powered change"

invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

move-result-object v1

invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

move-result-object v1

iput-object v1, p0, Lcom/android/server/power/PowerManagerService;->mScreenOnReason:Ljava/lang/String;

[COLOR="red"] const/16 v1, 0xb

iput v1, p0, Lcom/android/server/power/PowerManagerService;->mLastWakeUpReason:I[/COLOR]

const-string/jumbo v4, "android.server.power:POWER"

RomControl

<com.wubydax.romcontrol.v2.prefs.MySwitchPreference android:title="USB plug in/out wakeup" android:icon="@drawable/usb" android:key="usb_plugged" android:defaultValue="true" android:summaryOn="On" android:summaryOff="Off" />

Thx for helping for this mod to great [MENTION=5405448]thereassaad[/MENTION]
[Android General] asc1977:
How to hide (Power Menu) Emergency Button with a Toggle

First of all thx [MENTION=1042140]tdunham[/MENTION] for original guide here

Services.jar

open smali/com/android/server/policy/GlobalActions$16.smali

Search for followed text to be sure you have right smali. If you not find search in other GlobalAction$.......... smalis for that key

"EmergencyMode"

Replace method with below

.method public showConditional()Z
.locals 4

const/4 v0, 0x0

const/4 v1, 0x1

iget-object v2, p0, Lcom/android/server/policy/GlobalActions$16;->this$0:Lcom/android/server/policy/GlobalActions; [COLOR="Magenta"]#ThisGlobalActions$16 must match your smali[/COLOR]

# getter for: Lcom/android/server/policy/GlobalActions;->mContext:Landroid/content/Context;
invoke-static {v2}, Lcom/android/server/policy/GlobalActions;->access$500(Lcom/android/server/policy/GlobalActions;)Landroid/content/Context;

move-result-object v2

invoke-virtual {v2}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v2

const-string v3, "power_emergency"

invoke-static {v2, v3, v1}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v2

if-ne v2, v0, :cond_0

:goto_0
return v0

:cond_0
move v0, v1

goto :goto_0
.end method

Now we go to main smali

open smali/com/android/server/policy/GlobalActions.smali

search for this method. On Android 7 it never excist so we have to add it. Maybe its there from earlier mods so only check if there or not and add if not above

method: .method private addCustomDialogItems(Landroid/graphics/drawable/BitmapDrawable;Ljava/lang/String;Landroid/content/Intent;ILjava/util/ArrayList;)Z

.method static synthetic access$500(Lcom/android/server/policy/GlobalActions;)Landroid/content/Context;
.locals 1

iget-object v0, p0, Lcom/android/server/policy/GlobalActions;->mContext:Landroid/content/Context;

return-object v0
.end method

RomControl

<com.wubydax.romcontrol.v2.prefs.MySwitchPreference android:title="Emergency Mode Button" android:key="power_emergency" android:defaultValue="true" android:summaryOn="Emergency mode will be shown" android:summaryOff="Currently removed" />

Thx again to get it to work on Android 6.9.1 [MENTION=1042140]tdunham[/MENTION]
[Android General] asc1977:
How to unlock after reboot with fingerprint without pin or pattern

decompile SystemUI.apk

Go to smali/com/android/keyguard

open Keyguardupdatemonitor.smali

add blue

.method private isFingerprintDisabled(I)Z

..................

:goto_0
[COLOR="Blue"]const/4 v1, 0x0 [/COLOR]

return v1

:cond_0
invoke-virtual {p0}, Lcom/android/keyguard/KeyguardUpdateMonitor;->isSimPinSecure()Z

move-result v1

goto :goto_0
.end method

.method public isUnlockCompleted()Z

........................................

move-result v0
[COLOR="blue"]const/4 v0, 0x1 [/COLOR]

return v0
.end method

.method public isUnlockWithFingerprintPossible(I)Z

............................................
:cond_3
[COLOR="blue"]const/4 v0, 0x1[/COLOR]

return v1
.end method

Open KeyguardUpdateMonitor$StrongAuthTracker.smali

add blue

.method public isUnlockingWithFingerprintAllowed()Z
.locals 2

.prologue
const/4 v0, 0x0

.line 936
iget-object v1, p0, Lcom/android/keyguard/KeyguardUpdateMonitor;->mStrongAuthTracker:Lcom/android/keyguard/KeyguardUpdateMonitor$StrongAuthTracker;

invoke-virtual {v1}, Lcom/android/keyguard/KeyguardUpdateMonitor$StrongAuthTracker;->isUnlockingWithFingerprintAllowed()Z

move-result v1

[COLOR="Blue"]const/4 v1, 0x1 [/COLOR]

if-eqz v1, :cond_0

.line 937
sget v1, Lcom/android/keyguard/KeyguardUpdateMonitor;->sCurrentUser:I

invoke-virtual {p0, v1}, Lcom/android/keyguard/KeyguardUpdateMonitor;->hasFingerprintUnlockTimedOut(I)Z

move-result v1

if-eqz v1, :cond_1

.line 936
:cond_0
:goto_0
return v0

.line 937
:cond_1
const/4 v0, 0x1

goto :goto_0
.end method

recompile

Thx [MENTION=4434858]sanoc69[/MENTION]
[Android General] asc1977:
How to Disable Signature Check

Decompil Services.jar

Go into smali\com\android\server\pm\PackageManagerService. smali

Search for :

.method static compareSignatures([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)I

Replace the entire .method with this one:

.method static compareSignatures([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)I
.locals 7

const/4 v0, 0x0

return v0
.end method

Recompil Services.jar

Done

Now you can install any application with different signature

Thanks to [MENTION=3096129]one_love_420[/MENTION]
[Android General] Ather:
To move the network traffic indicator to the left of the status bar, follow the guide (amazing) by [MENTION=4714483]daxgirl[/MENTION] but in the 6th step, add the

<com.android.wubydax.NetworkTraffic android:layout_width="wrap_content" android:layout_height="fill_parent" />

after:

<LinearLayout android:orientation="horizontal" android:id="@id/status_bar_contents" android:layout_width="fill_parent" android:layout_height="fill_parent" android:paddingStart="@dimen/status_bar_padding_start" android:paddingEnd="@dimen/status_bar_padding_end">

screenshot:

Thanks to [MENTION=4714483]daxgirl[/MENTION] for pointing it out
[Android General] intxeon:
[MENTION=4596062]asc1977[/MENTION]

How can we deodex nougat firmware? SVADeodexer doesn't work anymore for nougat
[Android General] asc1977:
Use superr kitchen

Use smali/baksmali method

If asked ktichen to delete meta-inf folders say no

After all copy arm and arm64 folders from odex framework to deodwx framework. Thats all and it boot. I think newest assayad tool do ot byself
[Android General] intxeon:
Thanks

I searched assayad tool on this forum but I can't find it
[Android General] thereassaad:
Are u sure ..

http://xdaforums.com/showthread.php?t=3410545
[Android General] necrosauron:
yes..that kitchen itÂ´s awesome..

a thousand thankÂ´s for sharing your mods mate.. really....

im new on this mods stuff.. and i was looking for the advance reboot menu on nougat...

best regards
[Android General] gvmiguez:
Yes, Assayyed Kitchen can now deodex Nougat Beta with last version. You dont need to add or remove anything
[Android General] ambasadii:
you mean not need to be added arms folder to framework folder ?
[Android General] gvmiguez:
No, the kitchen keeps both folders on framework when deodex finish