yashsingh1/xdaforums huggingface dataset:
[Nexus 7 (2013) Original Android Development] Tasssadar:
[MENTION=3946657]xanthrax[/MENTION], [MENTION=1374765]MaNRo[/MENTION]:

You both have deb and are interested in Ubuntu Touch, right? Can you test images specificaly for deb, see if the mobile data work?

The image is hosted on my server, just like hammerhead, and you need to download new MultiROM Mgr v1.97 to install it: http://tasemnice.eu/mgr/MultiROMMgr-v1.97.apk

You can't update to it from already existing installation because images on my server are signed by different key, sorry. The manager should offer you only one or two images to install and single channel, trusty-proposed. According to my experience with hammerhead, there should be an "Unlock sim" button in pulldown options (the "connections" part).

Thanks. I'm gonna try CyanogenMod myself, see if it suffers from the bug on my device or not.

BTW, If you didn't read my post about MultiROM causing excessive battery draining, please read post #447: http://xdaforums.com/showthread.php?p=50896537#post50896537
[Nexus 7 (2013) Original Android Development] xanthrax:
installing Ubuntu Tass, thanks, I've personally haven't noticed that extra drain, I'll keep an eye on it then, my tablet got charged almost all the time, I'm using it too hard

is it only on nexus 7 ?

i`ve got nexus 4 as well

sent from my Darkside of Nexus 7 LTE

sent from my Darkside of Nexus 7 LTE
[Nexus 7 (2013) Original Android Development] xanthrax:
So, there is cellular reception but how can I set the apn?

And Gmail seems broken, the keyboard doesn't show when typing in the account

sent from my Darkside of Nexus 4
[Nexus 7 (2013) Original Android Development] Tasssadar:
Uuh.... the GUI isn't there yet. You can set it in adb shell though:

adb shell
cd /usr/share/ofono/scripts
./create-internet-context [APN] [Username] [Password]

so, on O2 in Europe, it would be...
./create-internet-context "internet"
[Nexus 7 (2013) Original Android Development] MaNRo:
Thanks a lot Tasssadar, I'm not at home but as soon as I get there I'm gonna try it, it looks like xanthrax already confirm it but I really want to try it in my tablet! ;)
[Nexus 7 (2013) Original Android Development] rraaka:
confirming battery drain in primary rom with my 16gb flo, rev e, thought it was due to all the stuff going on in it - have flars kernel with sinless 322

secondary roms battery is normal
[Nexus 7 (2013) Original Android Development] pietropizzi:
Confirmed Battery drain on primary stock ROM with different kernels although deep sleep seemed perfect. Reason I changed to slim ROM on secondary about a month ago and I don't have issues there since then DEB 32gb

Gesendet von meinem Nexus 7 mit Tapatalk
[Nexus 7 (2013) Original Android Development] deedeeceleb:
Also a huge battery drain here with primary rom. Tested velocity, pa and purity..)

Gesendet von meinem Nexus 7 mit Tapatalk
[Nexus 7 (2013) Original Android Development] Jal253:
Hi, I also have a battery drain with CM. I taught for a long time that it was rom related. Since latests nightlies it seems that the drain has diminished
[Nexus 7 (2013) Original Android Development] rastaguy:
I have the battery drain issue as well. I never really thought about multirom as a potential cause until you mentioned it. I have to change once a day.
[Nexus 7 (2013) Original Android Development] r3pwn:
Same here. Revision e, PAC-rom (uses cm kernel), ~1% loss per hour.

EDIT: Just installed newest update. Thanks for the hard work, man!
[Nexus 7 (2013) Original Android Development] Tasssadar:
MultiROM v22b was released and it fixes excessive battery drain. There is a brief period when screen is completely turned off between MultiROM GUI and ROM's boot animation. The screen drawing code was replaced, if it causes problems on your kernel, you can force using the old one (which causes the battery draining) in recovery -> Advanced -> MultiROM -> Settings, Force using generic screen drawing code.

Now, a more detailed info about what happened: there is a hack in flo's video drivers which turns on display backlight when the device is in recovery. It is triggered by manipulating the framebuffer device, which, on normal device, is done only by recovery, Android uses different methods to draw on screen (which require proprietary libraries). This hack turns something on, and it drains the device's battery, even while in deep sleep. Normaly, you wouldn't encounter that because you're not staying in recovery for long enough.

The problem is that MultiROM uses the same screen drawing method as recovery, but there is no device reset between MultiROM's GUI and Android. That means it triggers the hack and the increased battery consumption in Android is the result. It wasn't happening on secondary ROMs because with kexec-hardboot, there is a device restart after you choose the secondary ROM (to load another kernel) and everything gets reset into its initial state.

The workaround which fixes it is to use different method to draw onto screen - it is called "Qualcomm overlay" and thankfuly, it doesn't trigger that hack in kernel. Other than that, it is comparable to the old method, if somewhat faster. We are very, very lucky this method exist and that I know about it - big thanks to Dees_Troy of TWRP for that. If it did not, the only way to fix it would be find what exactly causes the drain, fix the kernel drivers and then get the fix into all kernels.

Some of you are reporting that this wasn't an issue for you - can't tell you why. Maybe there are kernels where this is fixed, maybe you just didn't notice it. For me, it was happening on every bootloader version, every kernel and every ROM I tried.

It was present in MultiROM since release, over half a year now. I'm somewhat surprised nobody reported it for so long, but I don't blame you - I thought it was the ROM myself, I even switched my main ROM for some other, because MultiROM doesn't do anything which should affect something like power consumption. That hack in kernel is just evil, and you have no idea how long it took me to figure out what the hell was happening.

Anyway, it is "fixed" now. Something like this shouldn't even happen, but it did. Sorry for that.

Oh, and the recovery was updated to TWRP 2.7.
[Nexus 7 (2013) Original Android Development] mdamaged:
Thanks, again sorry that me reporting this issue caused you more work, but I'm glad you got it working!
[Nexus 7 (2013) Original Android Development] GialanG:
I got this issue for months, N7 32G, and even on my N5 once. I had to restore original image of N5 to make it normal again. I thought I was the only one who had this, so I guessed there was some kind of conflict with my existing apps. One more thing, the drainage happens even on secondary roms with shared kernel.

Anyway I'm downloading the updates, hope that will solve all the issues.

Thanks [MENTION=3418703]Tasssadar[/MENTION]
[Nexus 7 (2013) Original Android Development] aamitabh28:
Wow i cant beleive this! I was so affected by this issue.. My idle drain was hhuuuge and all i could do was restore factory image again and again. I had no idea because my device wasnt wakelocking or anything. Great news.. Thanks a lot tassadar!
[Nexus 7 (2013) Original Android Development] rraaka:
too early to confirm but the devs word is enough - im thankful i can stay booted into the primary for longer periods of time.

and xda shouldnt give any dev scope to apologise .....this is development :good:
[Nexus 7 (2013) Original Android Development] z31s1g:
TWRP Holofied theme for MultiROM updated

MultiROM theme updated with ui changes from new dark theme:

09.03.2014

Highlight color for button presses made darker

Added vibration settings page (time zone setting moved to actionbar)

Added capslock support to keyboard

Increased spacing for partition lists on "wipe page" and "mount page"

Changed color of console to match overall background color

Added option to center clock in statusbar

Progress bar position now below action bar

Font size of tab labels reduced

Font color of main buttons, action bar labels and tab labels changed from white to a light grey

Grab it here.
[Nexus 7 (2013) Original Android Development] SynnyG:
Don't be sorry, you do awesome work and thanks to you, our devices are better and better ! We learn by doing error, but even with some error, MultiROM is perfect.

Again don't be sorry but happy for the discover you've done and the great improvement you've made !
[Nexus 7 (2013) Original Android Development] GialanG:
The battery drainage has been completely solved! :good: :good: :good:
[Nexus 7 (2013) Original Android Development] marsaltito:
Big THX. Now i can relax with my CM11 and Kali l. !
[Nexus 7 (2013) Original Android Development] rifraf1:
This works! Wow mobile data on my DEB, what will they think of next.
[Nexus 7 (2013) Original Android Development] MaNRo:
Tasssadar, this wasn't needed on my DEB device, I'm located in Costa Rica and using Kolbi provider, the APN was detected automatically!

Great work, big thanks!!!
[Nexus 7 (2013) Original Android Development] ahrion:
For some odd reason flashing the newest twrp + multirom put my device into bootloop. Refreshed kernel and wiped cache/dalvik and now it's stuck at "starting apps".
[Nexus 7 (2013) Original Android Development] rifraf1:
Is there a way to upgrade an existing Ubuntu One installation, say go from build 228 to 229 through the multirommgr app?
[Nexus 7 (2013) Original Android Development] Alucai Vivorvel:
That's really odd. When I installed the new MultiROM + recovery, it took longer than usual to boot up, and I saw the "starting apps" screen for a while too. But it eventually got past that point and started up normally.

How long are you waiting before coming to that conclusion? Not saying you're wrong, just wondering if you're not giving it enough time.
[Nexus 7 (2013) Original Android Development] matcho13579:
OTA updates should work when booted in Ubuntu
[Nexus 7 (2013) Original Android Development] JoseRebelo:
The battery draining was driving me nuts, I couldn't find the culprit and I would have never thought it had something to do with MultiROM. Glad you got it fixed :D
[Nexus 7 (2013) Original Android Development] Alucai Vivorvel:
Just wanted to report that battery life IS longer now (though flashing Glitch kernel may have also affected that lol).

Thanks for the fix!
[Nexus 7 (2013) Original Android Development] tashik19:
Still facing battery problem.

Thanks Tassader for that fix. It has fixed battery a little bit. But still 1% charge decrease in two hours in standby. Please do something! :(
[Nexus 7 (2013) Original Android Development] Tasssadar:
It is most likely not MultiROM's problem now. Install something like BetterBatteryStats, and check if the device is in deep sleep all that time. I guess that if you have the 4g version, the average battery consumption is higher because of the cellular modem, too.
[Nexus 7 (2013) Original Android Development] deathblade:
is it possible to transfer a rom stored on the internal storage to an external storage device?
[Nexus 7 (2013) Original Android Development] mdamaged:
Yes, create a nandroid of it in TWRP, then enter MR. add rom, MR allows you to select the backup as a source, from there, you can install it to the external device as a new rom...then once it's installed, delete the backup (or not).
[Nexus 7 (2013) Original Android Development] deathblade:
You sir ( and the dev) are a Guinness, thank you

Also I wouldn't think that you could make a nandroid of Ubuntu touch could you?
[Nexus 7 (2013) Original Android Development] mdamaged:
Actually, I couldn't tell you if you could or not, I guess there's only one way to find out! (Let us know) I'd assume that if UT installs the same way, (same mounts) TWRP should be able to do it, if not it's possible the newest TWRP will detect it as such and adjust its backup method accordingly.

I only have done this with PwnPad, not with Ubuntu, as I'm not touching ububtu touch (no pun intended) until its solid and useful and everything works 100% and is smooth like butter.
[Nexus 7 (2013) Original Android Development] deathblade:
OK waiting for installation of pa beta 2 on external device so after that (if I have battery left) I'll check it out

---------- Post added at 09:37 PM ---------- Previous post was at 09:00 PM ----------

OK ut is not currently backup able
[Nexus 7 (2013) Original Android Development] mdamaged:
Bummer, thanks for letting me know though.
[Nexus 7 (2013) Original Android Development] deathblade:
Quick question for op, in the screen shots it shows you have like 10 Roms installed on your in general storage, how to do this? Or am mistaken
[Nexus 7 (2013) Original Android Development] mdamaged:
He's a witch!

Actually, he probably has them installed to a mounted largish SDCARD.
[Nexus 7 (2013) Original Android Development] Nekromantik:
Use usb stick or sdcard :)

Im using a USB OTG flash drive for my Kali Linux ROM.

16GB is just not enough! :(
[Nexus 7 (2013) Original Android Development] deathblade:
ive been doing so just looked like it was internal storage in screens

and no 16GB isnt enough... nor is 8GB for that matter (which is what i started using thinking it was 32GB :( )
[Nexus 7 (2013) Original Android Development] danaff37:
Does kali run through X or display server? Or is it still done with vnc?
[Nexus 7 (2013) Original Android Development] Nekromantik:
Its not like previous Kali implementations on Android.

Its a set of packages and CHROOT that get installed onto a ROM.

You then connect to the Kali environment via a app and then access all functions via terminal.

Or you can use built in VNC server to log in via GUI either through android itself or laptop/PC VNC client.
[Nexus 7 (2013) Original Android Development] Galaxysm:
Anyone running miui n using this?

Sent from my Nexus5™.

" Nothing's ever locked..."
[Nexus 7 (2013) Original Android Development] thereal_bigjake:
I heard MIUI was getting released today and planned on trying it as a secondary rom but I haven't seen a link to today's release yet.
[Nexus 7 (2013) Original Android Development] Galaxysm:
Here you go....if u can test and let me know it would b great since I wanna do that!! Tia.

https://plus.google.com/108531052526575991056/posts/Wsr3HjFVZo6

Sent from my Nexus5™.

" Nothing's ever locked..."
[Nexus 7 (2013) Original Android Development] thereal_bigjake:
Downloading now..

---------- Post added at 01:00 PM ---------- Previous post was at 12:26 PM ----------

Works fine as secondary rom ;)
[Nexus 7 (2013) Original Android Development] Galaxysm:
Thanks :D. Now I need a kernel >.> what are u using?

Sent from my Nexus5™.

" Nothing's ever locked..."
[Nexus 7 (2013) Original Android Development] thereal_bigjake:
Glitched on my main rom and just the stock for MIUI. Haven't tried gapps or any custom kernels with MIUI yet..
[Nexus 7 (2013) Original Android Development] oadam11:
Do you have to flash gapps with MIUI?

Sent from my Nexus 7
[Nexus 7 (2013) Original Android Development] thereal_bigjake:
No but you can if you want.
[Nexus 7 (2013) Original Android Development] z31s1g:
TWRP Holofied Play for MultiROM released

TWRP Holofied Play for MultiROM released

Grab it here.
[Nexus 7 (2013) Original Android Development] mdamaged:
Hi, can I ask a (probably stupid) question? In your dropbox link, you have 2700 and 263X, what is the different between them?, thanks.
[Nexus 7 (2013) Original Android Development] z31s1g:
The TWRP version they're compatible with.
[Nexus 7 (2013) Original Android Development] mdamaged:
I knew it was a stupid question, thanks for answering without pointing that out. :good:
[Nexus 7 (2013) Original Android Development] hcfte:
When running MR and installing 3 or 4 Roms what is the best way to install apps from the Playstore to avoid installing all 100 apps and games that I have on my primary Rom. I assume each time it uses lot's of storage space.

To the OP not that it's a big deal but I recently updated TWRP to version 2.7.0.0 and when I installed the new MR 22b and enter recovery it shows up as MR TWRP v2.7.0 and it was making me think I was no longer updated to TWRP v2,7,0.0
[Nexus 7 (2013) Original Android Development] mdamaged:
When it asks if you want to sync your data and purchases automatically, just after/during setup, say no.
[Nexus 7 (2013) Original Android Development] Galaxysm:
How do I flash gapps in multirom?._.

Sent from my Nexus5™.

" Nothing's ever locked..."
[Nexus 7 (2013) Original Android Development] mdamaged:
TWRP>Advanced>MultiROM>List ROMS, select ROM, tap the rom you want to install to, the rest will be obvious.
[Nexus 7 (2013) Original Android Development] z31s1g:
MultiROM > list roms > *select rom* > flash zip
[Nexus 7 (2013) Original Android Development] Galaxysm:
Thanks guys ^.^ didn't know that lol.

Sent from my Nexus5™.

" Nothing's ever locked..."
[Nexus 7 (2013) Original Android Development] BobderDritte:
quick question tried to install ubuntu touch after downloading via multirom the app tries to install the rom and then ... error message: failed to initialize rom folder ?

do you know this error message ?
[Nexus 7 (2013) Original Android Development] psychology:
Same problem here since yesterday evening, was fine before that...
[Nexus 7 (2013) Original Android Development] stfudude:
Is there anyone here using faux kernel as primary kernel for multirom?

Can your tablet boot to the secondary rom?

I need to collect information for this so as to help faux fix this bug but is there even a way to retrieve a log when failing to boot to secondary rom? If there is a way then please share here. I've been wanting to flash secondary rom for months now but unable to..
[Nexus 7 (2013) Original Android Development] numanoids:
Same problem here - some problem with an update or something?
[Nexus 7 (2013) Original Android Development] Alucai Vivorvel:
Are you guys installing Ubuntu Touch for the first time, or updating it? Because you shouldn't update it from MultiROM, that's what the System Settings->Updates option is for from within the OS itself.
[Nexus 7 (2013) Original Android Development] Scottchy014:
I've discovered something awesome! I've installed MIUI using MultiROM. Here is my YouTube video on it. MIUI First Look. Enjoy! You can also check out my other videos which mainly involve using MultiRom HERE. Thank you for this.
[Nexus 7 (2013) Original Android Development] psychology:
.

Deleted
[Nexus 7 (2013) Original Android Development] numanoids:
Installing for first time - cleared out all previous ones already as they weren't performing correctly.
[Nexus 7 (2013) Original Android Development] Alucai Vivorvel:
Hmm... I take it you're using the MultiROM Manager app to install Ubuntu Touch?
[Nexus 7 (2013) Original Android Development] numanoids:
I am yes. all done through the app which has root access and recovery installed.
[Nexus 7 (2013) Original Android Development] psychology:
I had an update to the multi ROM app yesterday, that has fixed the problem for me. Have you updated your app?
[Nexus 7 (2013) Original Android Development] numanoids:
I've now checked and the app has updated so i'm installing now - to the other chaps I'd make sure up to date.

Thanks to psychology for the headsup about the update
[Nexus 7 (2013) Original Android Development] z1022:
Hi Tassadar,

Now I use your kernal 3.4.0-g45e759d. I want to compile DVB-T dongle module. However, I don't know which Kernel Branches I use it.

Kindly advise to me.

Thanks
[Nexus 7 (2013) Original Android Development] droidshadow:
kexec-patch for nexus 7 2013 deb?

Hello everyone, I was just wondering if there is a kexec-patch for the nexus 7 2013 model deb. I need one specifically for jelly bean ROM I have a custom ROM on my nexus 7 deb running 4.3.1 it is an AOSP based ROM that is based on computer security practices. However...at the same time I want to install a secondary ROM but i need the kexec-patch for multirom.

Also, does anyone know if the kexec-patch replaces the kernel that you have on your ROM or does it just patch the existing kernel. You see for my ROM which is the PwnPad ROM from www.pwnieexpress.com their kernel supports usb wifi devices and I don't want to loose that. So that is why i need to know if the kexec-patch just patches the existing kernel or replaces it!?

I hope to hear from someone soon,

I thank you all for your time and assistance.

Oh, and if there is a kexec-patch for the Nexus 7 2013 Model DEB could someone please provide a link...Thank you!

-droidshadow
[Nexus 7 (2013) Original Android Development] xanthrax:
It does replace the kernel you have with the stock one but patched

You can ask your developer to apply the patch on your current kernel sending him a link to the patch, first post

almost all latest updated kernels has the patch for multiboot

Sent from my Darkside of Nexus 4
[Nexus 7 (2013) Original Android Development] droidshadow:
thanks for the info

So that is what I figured...

Well i guess i can try and patch the kernel myself since I am guessing that the developer of the ROM is not going to do it. I can't believe that they wouldn't apply the kexec hard patch, but so is life!

xanthrax, thanks again for the info...and best of luck to you with BlackBox. I have heard very good things about that ROM! Combining the best features of the Samsung ROM with AOSP for stability was a great idea.

-droidshadow
[Nexus 7 (2013) Original Android Development] xanthrax:
thanks , but unfortunately my friend , DSA , the dev , has stopped on S3 , he doesn`t own it anymore but it goes on S4

yeah , one of the best hybrid roms available , my wife is still running it on her S3

cheers mate !
[Nexus 7 (2013) Original Android Development] roofrider:
Is there a way to backup and restore ubuntu?

I don't want to download the entire package every time i delete UT, have a 16GB ;(

I thought maybe i could install the backup and update it after that, but that doesn't seem to be possible.

Edit

Also, were you guys able to do an OTA update of the MIUI that is installed as a secondary?

After downloading the update mine reboots, but into the recovery and not into the system. After i boot back into MIUI it still is the previous version, the update wasn't successful.
[Nexus 7 (2013) Original Android Development] Alucai Vivorvel:
AFAIK, backup of Ubuntu Touch is impossible, at least for now.

Also, the OTA for MIUI is broken for everybody. I use it as my primary ROM and I had to flash the updated full ROM from the MIUI website, the device kept consistently rebooting into the recovery to install the OTA (without prompting me) and failing every time. It was like being stuck in a bootloop, except you got to see your ROM before it rebooted again.
[Nexus 7 (2013) Original Android Development] roofrider:
Thanks!

BTW, when you update UT from within the OS how big is the update, a small incremental package? If that is the case, i think it would be really handy if Tassadar could provide a UT zip that can be flashed via recovery/Multirom, which can then be updated via OTA. We don't have the fastest of internets here, so i prefer not to use the tablet for downloading large files.

Or, maybe he could find a way to backup UT. :p
[Nexus 7 (2013) Original Android Development] Alucai Vivorvel:
IIRC, it's an incremental update. I know it doesn't take very long at all for me, though it's been a while since I updated. The OTA is extremely convenient, I'm so glad that it got added to the official repositories! :D
[Nexus 7 (2013) Original Android Development] vagaerg:
To use MIUI should I choose sharing the kernel or not?

Is there any problem with not sharing kernels? I mean, is there any problem if I choose not to share the kernel with any secondary rom, and let every rom use its own?

Thanks