yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 7.7 Android Development] gaspan:
Flashed DU 20160329 today. Flicker is gone! Everything else seems to work also. Great release, thank you daniel. :good: :)

Use TWRP or similiar to flash.
[Galaxy Tab 7.7 Android Development] spsrulez:
problem is, how to install twrp, since i am in recovery mode and cant access system to put system into developer mode
[Galaxy Tab 7.7 Android Development] p3dboard:
You might be able to plug a USB cable in while in recovery mode - and copy the latest TWRP .zip file and flash it, alternatively, copy the latest twrp .zip file to a MicroSD card and while in recovery flash the new TWRP recovery. Then you can reboot into the new recovery and flash away (copy any files you need onto the MicroSD or via the USB cable to the tablet in TWRP).
[Galaxy Tab 7.7 Android Development] daniel_hk:
The message shows the target. That means the ROM on your device before flash.

In respond to the current Gapps issue, I prepare this View attachment gapps-perm-patch.zip. Flash it after ROM and Gapps would fix the permission issue at reboot. Current or future Gapps would work now.

For those interested, I'll post the theory behind this in post#1 later. ;)
[Galaxy Tab 7.7 Android Development] Jarr3:
Hi Daniel,

can you please point me in the right direction to build such a script zip, I assume there will be more users available to support with this kind of solutions.

I installed the latest DU Rom + the opengapps from 20160127, so it might not be needed this time for me. The first impression is that it is again rock solid. :good: :D

The only thing which make me wonder, is howcome the DU ROM does not optimize the Apps on the first boot? Thought that was standard on Android 6+? :confused:

/Richard
[Galaxy Tab 7.7 Android Development] daniel_hk:
I'm not quite sure what you asked. I just list the points I know.

1. A shell script is like the batch file (.bat) in DOS (or windows). It is just a series of shell commands.

2. To make a zip which can be flashed, most of the people would start with a ROM. Edit the updater-script and replace the rest of the content with the files they want.

3. There are some explanation in the source of the bootable_recovery.

4. The installer (from TWRP, CWM or any recovery) will run the updater-binary inside the zip. The usual updater-binary would follow the procedures listed in the updater-script.

5. As mentioned in 4, some developers (PA_gapps, Opengapps, SuperSU, etc.) use a shell script to replace the updater-binary. This would extend the capability of what can be done.

I use both methods all the time. See which one is handier for that job.

Every Android as far as I know (I stated from 2.3) would "optimize" the apps at every boot. Earlier Androids just didn't show you the dialogue. The process is to rebuild each apk's entry in the Dalvik/Art cache. DU would do the same. DU's dialogue is colourful and hard to miss.

1. If you just do a factory reset, only limited system apps are inside. The system would go directly to setup (the first time).

2. However, if you do a dirty flash (or a normal reboot), only those apk that the system sense the difference in Dalvik/Art would be rebuilt.

3. If you have wipe the Dalvik/Art cache, it would definitely rebuild everything.

It's my bad habit to explain in detail. If anyone felt boring to read, please don't ask. I don't want to waste my time too... :p
[Galaxy Tab 7.7 Android Development] Jarr3:
Yes, that was exactly what I was asking for! Thanks
[Galaxy Tab 7.7 Android Development] rauscherxda:
Is this what I should be getting with an i815 to go with the new DU build? open_gapps-arm-6.0-micro-20160127.zip
[Galaxy Tab 7.7 Android Development] tonygamble:
jarr's comment that it was Rock Solid dragged me out of retirement early.

It took me three or four times to get DU loaded and I am not sure what I did right that I had done wrong earlier. I was taking notes and then gave them up so I could read a book whilst the p6810 was rebooting (sorry).

I've also flashed xPosed as I need a different look to my Navigon.

But so far it running flawlessly (that's a nice word for guys like you to hear Daniel).

Have a good weekend - I hear you have been having some soggy weather according to a pal who was in HK earlier this week.

Tony
[Galaxy Tab 7.7 Android Development] p3dboard:
Just reporting back that DU on p6810 is running great.

The main bugs I have is

1. As already recorded,fast forwarding videos has issues, work around is to use the Kodi media app,but stock video has this issue, as does MX player.

2. The L3 libraries for DRM based video content are not working in Android 6. Android 5.1.1, they work fine. So we need to find compatible libraries. My Galaxy s2 running cm 13 has the same issue, running cm 12.1 the libraries work fine. This affects Google Play movie content, both streaming and locally downloaded content. You can't even download locally as it reports a licensing error,which used to be the work around

But overall a rock solid ROM,haven't had any reboots so far
[Galaxy Tab 7.7 Android Development] daniel_hk:
Yeah, the weather is quite moody lately. Soggy is one thing. Whenever there is north winds, haze and smog follows. A drop of sunlight is a luxury now...

I remember you mentioned using xPosed to change the dpi (larger text) of the display, right?

Although it might not be the problem of xPosed, there is a built-in settings in DU to change the dpi.

Settings > Dirty Tweaks > under GENERAL UI > LCD Density

You may change to defaults or custom values here. ;)

1. I was told that S3 behaves the same. I think its the problem of the Samsung codex. Apks with its built-n codec might work fine. As there are limited official info. available, I just don't have motivation to work on it...

2. We can't access google services locally but there are hacks. They can access DRM files without a license but I don't think I would share those improper info. here.
[Galaxy Tab 7.7 Android Development] F R Harris:
Hi Daniel,

Finished up dirty flash the 20160329 DU, no flickers at all, great. Video recording now are working, but no sound. The only downside for me is i can't sideload any apks, it always gives me parse error (didn't happened before when using other roms??). I already ticked the unknown sources but still it won't install. Pict & log provided. Thanks.

Edit: permission enabled on package installer kinda solve this. Seems everything on place. Great work.
[Galaxy Tab 7.7 Android Development] tonygamble:
I remember you mentioned using xPosed to change the dpi (larger text) of the display, right?

Although it might not be the problem of xPosed, there is a built-in settings in DU to change the dpi.

Settings > Dirty Tweaks > under GENERAL UI > LCD Density

You may change to defaults or custom values here

Yes, I spotted that but I assumed it was an across the board adjustment and I needed one that was app specific.

On the p6810 Navigon has an icon that depicts what happens at a roundabout and it is too small to see at a glance. With AppSettings you can make it take about a quarter of the screen. I felt that the DU mod, assuming it affects everything, would be overkill on other apps.

However, I kept a Nandroid backup of what the rom was doing before Xposed so I can go back to that if DU would have had my solution.

Tony
[Galaxy Tab 7.7 Android Development] p3dboard:
Hi [MENTION=4948627]daniel_hk[/MENTION], just had a look at the logcat output during play movies failure, it seems it's looking for /vendor/lib/mediadrm, but since our rom's /vendor isn't symlinked to /system/vendor it can't find the drm libraries. I checked my nvidia shield, which has android 6,and it's /vendor is symlinked to /system/vendor

Is it possible to move the /vendor/firmware to /system/vendor/firmware and then make /vendor a symlink to /system/vendor - it might fix the play movies issue.

Thanks, Peter
[Galaxy Tab 7.7 Android Development] daniel_hk:
OK, that make sense.

Some background info.

Android M is now POSIX complaint. It seems to be a good thing only if all blobs follow. The POSIX spec. says that if the file pass to dlopen with a path (a back slash included), no searching is done for the requisite library but only the current working directory.

Before M, alternate paths will be searched but not now. It is up to the blob to locate its "parts". Some blob might refer to /system/vendor and some might not. A symlink might be a workaround in some cases but it is not a good practice. Same problem appears on the graphic blobs of Nvidia. Some developer also use a symlink in the early stage of M but there might require a few of them. We all use a wrapper library now. It is proved to be flawless.

You may add the link via adb in recovery (in which the system can be mount as RW) to test or try another blob from other devices. I got the last blobs from Nexus (5 or 6 I forgot...). I didn't go further because I can't test it myself.

Good luck!

Daniel
[Galaxy Tab 7.7 Android Development] greinedo:
Hi,

On p6800, I couldn't dirty flash latest Dirty Unicorn over previous one (had problems even with gapps patch).

A clean install, with gapps patch made everything work perfectly.

Same error during flash than previous rom : need to flash separately SU.

If not mentioned previously, it seems GPS is not working with the DU 2016/3/29 rom, wich unfortunately I need.

Thank you for your hard work and for all contributors !
[Galaxy Tab 7.7 Android Development] tonygamble:
Gosh. You are right. No GPS on a p6810. I had not taken mine outside to try until you posted.

My p6810 is primarly for satnav. I was planning to take it to California for a hire drive in about ten days. I hope Daniel can give us a fix to flash. I really don't want to have to do a full re-install if possible.

Tony

London UK
[Galaxy Tab 7.7 Android Development] daniel_hk:
I'll take a look tonight.

Edit: See post#1 for the fix! :D
[Galaxy Tab 7.7 Android Development] tonygamble:
Thanks Daniel,

I can see Marshmallow GPS fixes lurking around but I'd rather flash something from the Master.

Tony
[Galaxy Tab 7.7 Android Development] gaspan:
Hi Daniel, here is adb logcat output from my P6800 (latest DU), dunno if its helpful... I'm sure you can arrive at this point fast ;)

libgps : SendGpsExtensionMessage: Waiting for IPC connection - timeout

libgps : GpsiClient: Can't write to closed pipe

libgps : IPC Communication Error, /tmp/12174109/proprietary/deliverables/android/gps_interface/../gps_interface/gpsi_client/GpsiClient.cpp:448 SendGpsExtensionMessage

libgps : Save: type=1, hostname=supl.google.com, port=7276, ssl=0, ssl_version=0, ssl_type=0

libgps : agps_set_server: Waiting for IPC connection...

libgps : agps_set_server: Waiting for IPC connection - timeout

libgps : GpsiClient: Can't write to closed pipe

libgps : IPC Communication Error, /tmp/12174109/proprietary/deliverables/android/gps_interface/../gps_interface/gpsi_client/GpsiClient.cpp:1031 agps_set_server

I assume the gps driver is also a binary blob? :confused: :crying:

---------- Post added at 03:03 PM ---------- Previous post was at 02:55 PM ----------

Tony,. just out of curiosity... do you run a 12V->USB 5V converter in the car to power the tablet when you use it as satnav? :) I find my battery just goes too fast... even when surfing the web. Of course the device is getting quite old (I'm the third owner of this one...) thinking if it's a big job to swap new cells in...
[Galaxy Tab 7.7 Android Development] tonygamble:
Satnav in the car.

Last question first. Yes, you can swop the battery. There are replacement cells available on eBay and there are YouTube instructions as to how to get the body apart. It is not difficult but you need a bit of patience.

I have two p6810's now.

My original has had the new battery and I am keeping that unrooted on the original software. It works but the problem with Navigon is that the icon that shows what you do at the next roundabout or crossroads is too small. With a rooted device and Xposed you can sort that problem.

I bought another p6810 really cheaply on eBay on the basis that if I messed up the software it was not a big financial crash. I have been fiddling with that for a couple of months and the latest DU seemed to get me what I wanted. I'm leaving the original p6810 in its unrooted state and may job it off on eBay once I am really confident the new one with Daniel's rom is what I want.

I also think that Marshmallow is far kinder on batteries but I must admit I have not run both devices side by side to test.

No, I don't have a car power converter - yet anyway. What I do have is one of these devices.

http://www.hootoo.com/hootoo-tripmate-ht-tm01-wireless-router.html

I bought it for some totally different reason but I guess that, as long as I keep it charged, it will stop the p6810 running out on me. For example I can give the satnav a boost when I stop for a break or I could connect it to the HooToo when it started to run down.

I made the mistake of using Bluetooth to feed my car radio with both satnav info and music from the 6810. That races through the battery so I now use an audio to audio wire.

Finally what I found I needed to do was to fit a matte screen overlay so I did not get reflections. It dulls the image but it makes a lot of difference.

OK?

Tony
[Galaxy Tab 7.7 Android Development] gaspan:
Not too bad then, thanks :) It is a sleek device but sometimes it gets to me that you have to get a soldering iron out for a battery swap :mad:

I've seen tablets and phones usually hooked up to a USB power with small 5V converter via the cigarette lighter slot that feeds 12V.

Your USB batterpack looks quite useful though as it can be carried everywhere :good:

I've been thinking of getting small solar panels that would hook up to such a setup.
[Galaxy Tab 7.7 Android Development] tonygamble:
Not too bad then, thanks It is a sleek device but sometimes it gets to me that you have to get a soldering iron out for a battery swap

Connecting the battery is dead simple - just a socket to socket click. What is trickier is separating the metal body from the screen as it is held by spring clips. One of the vendors supplies a little plastic tool but you could probably make something yourself from an out of use credit card.

The solar power idea is good but I use my p6810 in a vintage Bentley and its important to keep the device easy to hide when parked. The less clutter the better.

Tony
[Galaxy Tab 7.7 Android Development] gaspan:
Gotcha, that is good info.

It sounds like it is a bit of work to get it done.

I envy you for driving a Bentley!!! ;)

But I see Daniel already posted a fix for the GPS! :highfive: Perhaps you can give it a go :)
[Galaxy Tab 7.7 Android Development] tonygamble:
GPS running fine now on the p6810.

Thanks Daniel.

Yes, the Bentley is a lovely car. Not expensive to buy. The art is to find someone to maintain it at sensible money. Ours was built in 1991 and we've had it since 2001. The p6810 looks classy propped up against the walnut facia. And with Xposed making Navigon readable life feels much safer. Now to load my US maps for our adventure at the end of April.

Tony
[Galaxy Tab 7.7 Android Development] Jarr3:
Good morning,

the latest DU rom is still rock solid according to me. Though I now see I that it forget's my wifi password and I have to reenter it over and over. Any hint to make it remember? Or is my P6800 getting alzheimer :) ?

I tried to reflash the rom + the du-gps-patch.zip + more recent gapps 20160329 (used 20160127 before) + the gapps-perm-patch.zip. But this exact setup complains that the setup routine just stopped and did not let me continue boot. Went back to gapps 20160127, and now it is ok again.

Which gapps do you use, and which order do you flash the rom + patches?

/Richard
[Galaxy Tab 7.7 Android Development] rgclaros07:
Wifi problem mentioned happens to me also. It is annoying. However, DU so far is proving the best among the different roms I tested (and that is all the MM roms by Daniel). Without apps, it is very fast and stable. Problems occur when apps are installed such as facebook, messenger and maps that makes it slow and sometimes unresponsive. I think it is about the apps which Daniel said is not his domain. I just have to test which apps are friendly to our rom. Great work Daniel and thanks a lot.
[Galaxy Tab 7.7 Android Development] p3dboard:
As a suggestion for Facebook replacement, Chrome and Facebook can work together with push notifications via chrome, instead of the complete Facebook app, it's less resource intense, and might provide most of the features you need.

I also use cpu monitor, wakelock detector, and task manager to give me some tips on badly behaving apps.
[Galaxy Tab 7.7 Android Development] tonygamble:
Would you like to elaborate when you have a spare moment? My first look at 'cpu monitor' it suggested that some of the monitors used more cpu than the rogues it spotted!

Tony
[Galaxy Tab 7.7 Android Development] rgclaros07:
Thanks for the facebook replacement suggestion. That was very helpful!
[Galaxy Tab 7.7 Android Development] p3dboard:
Hi Tony,

There's a few CPU monitor apps, the one I use is fairly light weight, https://play.google.com/store/apps/details?id=jp.eflow.util.cpuusage&hl=en - but it allows me to see if a process is hogging the cpu (which can help identify battery drain or a badly behaving app). Task manager, built into DU rom and can be enabled to be in the quick settings, should help you identify the amount of ram, although you can also look at Android's average ram usage or in developer options you can see the old Ram usage details that you used to be able to see in Applications. Wakelock detector is useful for identifying applications or possible features in the app's that are preventing the device from going into deep sleep and thus consuming more battery. With wakelock detector its good to enable show system apps, as sometimes its a core os app or feature turned on that keeps the device awake.

That's a few of the ways I use to try identify badly behaving apps.
[Galaxy Tab 7.7 Android Development] tonygamble:
Thanks. That URL is not valid in the UK. Can you let me know the originator of the app and that should identify what I can download here.

Tony
[Galaxy Tab 7.7 Android Development] p3dboard:
I backed up the apk, which is free and attached it, it was produced by Eflow inc., last updated August 31,2012

It's just a very simple cpu monitor
[Galaxy Tab 7.7 Android Development] tonygamble:
Thanks,

T.
[Galaxy Tab 7.7 Android Development] tonygamble:
Thanks.

Loaded and waiting for the magic.

Tony
[Galaxy Tab 7.7 Android Development] reiner21:
Does anyone knows if Viper4Android works with the Du Rom. If this works it would be kind to give me a link to the right Version.

Thanks.

Reini
[Galaxy Tab 7.7 Android Development] rgclaros07:
I thought I would be sticking with DU. But when I saw the CM post by Daniel with its flickering problem solved, I was tempted to give it a try as I like CM's UI. And I have no regret even a little bit. The latest cm not only has no flickering already, it also boots fast, fast, stable, and compatible with many programs I use (not the fb app of course). I wonder, however, why when I activate double tap at performance control my p6200 heats quickly, consumes much battery, and lags. When I deactivate it, performance of my tab returns to its fast and stable operation. That is the only problem I encountered so far. Daniel, you are great! Excellent work for my antiquated tablet which I use for work (cannot yet buy a new one as I still have a child in college). My gratitude!
[Galaxy Tab 7.7 Android Development] tonygamble:
I wonder, however, why when I activate double tap at performance control my p6200 heats quickly, consumes much battery, and lags.

1. I'm on DU. Can someone tell me if this activation is on DU, please? I just want to make sure it is not operating in case it causes problems here.

2. Someone posted a day or so ago that Maps are not all that happy on DU. I found that yesterday. Does anyone have a fix?

Tony
[Galaxy Tab 7.7 Android Development] philipnzw:
Its in the performance control app, under advance settings
[Galaxy Tab 7.7 Android Development] tonygamble:
Thanks. Mine is not set.

Now - anyway to get Google maps to stop being so lethargic. It is really turgid compared with the one on my Nexus 7.

Tony
[Galaxy Tab 7.7 Android Development] rgclaros07:
Google maps functions very well in the latest CM 13.
[Galaxy Tab 7.7 Android Development] tonygamble:
Oh dear. I wish you had not said that. I am reluctant to abandon my DU....I suppose I can create a Nandroid backup and save my app settings with Titanium. I wonder just how long it takes to install a new ROM and I am Xposed as well.

Perhaps a good itemised check list is what I need for each step. It would be a good discipline as you are certainly not the last person who is going to tell me to jump ship.

A bit of reading suggested it was worth uninstalling and re-installing the app. I did that and it does seem more responsive under DU.

Tony
[Galaxy Tab 7.7 Android Development] F R Harris:
Hi, today i tried to install a game that my son used to play, growtopia, however whenever it try to log in to their server it always stop and stated that my mac address is invalid and my device is using virtualized network card. Does any one on p6200 get the same issue on DU latest build or is it just me?

Thanks
[Galaxy Tab 7.7 Android Development] TheHSN:
Problems

Hi

I installed OmniRom on P6800 it have a good speed in apps and etc but after few minutes i will hangs and shows the Boot Loading Screen again , i installed SoccerStars game on it and it was awesome but as i said before it will stop then showing OMNI Boot Screen then it will show Lock Screen its like when i want to restart the tablet

---

then i installed CM Rom on P6800 it have no problem except Battery , example my battery level is 60% it will be 0% after 5 Minutes

---

i am downloading DirtyUnicorn and i will report it here if it contains problems

anyway thanks to daniel_hk for this roms

i have a question , can you create a rom for P6800 with Samsung Style or can we install Samsung Style on it ( i mean the Settings menu , Notifications and Themes , LockScreen and etc)
[Galaxy Tab 7.7 Android Development] daniel_hk:
Clearly, your mac address is really invalid. It should not be so many 00.

If you got the same (you may check it in About > status) after reboot, I think you probably coming from a dirty flash. You may try wipe cache. If still persist, you have to do a factory reset.

Note: The mac address is unique. Part of it is from the EFS partition. Make sure you have a backup of EFS.

1. I mentioned many times. I seldom play games and I can't do anything with issues on apks.

2. If the battery drop that fast, you probably have an aged battery. Even if there is a drain and the tab is getting hot. It wouldn't behave like that. In some rare situation, the battery status might be corrupted but it is cleared with a clean flash so highly unlikely. If it happens all the time, the only way is to change the battery.

3. You probably want the touch wizard Honeycomb look. It would just like testing the blobs or back engineering, simply impossible for newer Android. I would never waste my time doing that too. Frankly, I hate the Samsung look... :D

The easiest and better way is installing a stock ROM. ;)
[Galaxy Tab 7.7 Android Development] Harrison Le:
Try lastest CM13 20160405 on P6800 :

Everything run well as the DU rom, fast and smooth, specially about smooth, it's the best of CM13 roms!

Just have 2 points should compare to DU :

Good point : battery ferfomation well and charging duration fast and control heat very good. DU sometimes overhead during charging.

Bad point : play video which embed in website is worse : in CM13 browser default take long time for query and crashed quite often. In UC browser 100% crashed!!! :(
[Galaxy Tab 7.7 Android Development] TheHSN:
Well

Hi again

well the battery problem isn't a huge problem

my problem is with UI of this Android , i don't want the same samsung style , i want any UI Style except that google created it (Google Sucks with it)

or if you can't create it , tell me how to create?