yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Original Android Development] [NUT]:
Then the installation didn't run as successful as you said... Can you try again and then copy and paste the output of the installer here?

[MENTION=4802595]Shaky156[/MENTION] I wrote about 95% of the current scripts in use...

[MENTION=535343]all[/MENTION] There is a risk when you set CPU frequency in recovery, as the thermal throttling is not working in recovery, there is a chance of overheating your CPU. Be careful with what you set there. That's the reason why it was disabled in the code, overheating on the XZ.
[Xperia Z1 Original Android Development] y2grae:
I've run it about three times and it seems like it is just reading the script but not actually running anything on the phone if honest
[Xperia Z1 Original Android Development] gregbradley:
ok, I will delete all these lines because TBH how long do we actually spend in recovery. My last backup took 211 seconds, so no need to throttle back on the cpu for such a sort time

? Not sure, have a lokk in system/bin and see if there is a file called dualrecovery.sh If not then it didn't work, if so then it has worked and try to enter recovery
[Xperia Z1 Original Android Development] DooMLoRD:
ok i am here.. i see a lot of people posting a LOT of things... whts the update on this thing?
[Xperia Z1 Original Android Development] y2grae:
My problem is the exe file runs sends but the phone doesn't seem to react or pick up anything. Sys/bin had none of the extra files nut said it should

Usb debugging on, tried multiple times

sent via telecom via morse code
[Xperia Z1 Original Android Development] [NUT]:
Working on my build kitchen to support z1, will release a new package once work on that has been finished.
[Xperia Z1 Original Android Development] jagdesh:
Tried changing the lines as per your instructions and still in TWRP external sd card is not mounted ... cannot detect external sd card still in TWRP
[Xperia Z1 Original Android Development] [NUT]:
Try to go in to TWRP and then re-insert your sdcard, then try to mount it again.
[Xperia Z1 Original Android Development] jagdesh:
Wohoo it worked ...

Thanks a lot buddy... I booted to TWRP and then removed my SD card and insert it again and yes now I am able to select and mount my external SD card ... taking an nandroid backup right now

So this means everytime we will need to do this when we want TWRP to access the external sd card ... ofcourse till the the time a permanent fix or solution is found correct?
[Xperia Z1 Original Android Development] Shaky156:
Did you change 1 line or 2 lines? Weird backups working fine on mine

---------- Post added at 07:16 AM ---------- Previous post was at 07:12 AM ----------

I fully understand thermal throttling doesnt work in recovery ive tested max @2.15 & min@300mhz with backup with highest compression, cpu doesnt heat up, works good over here, can you pls link me to TWRP source code?

Edit: you wrote it from scratch?
[Xperia Z1 Original Android Development] [NUT]:
As this has solved it, I'm starting to understand what is going on, the XZ has the same issue and while debugging PhilZ Touch Recovery and it's exfat issues, a small light started to appear above my head :D

Thanks for confirming it helped, I think I have a solution, just thinking on how to implement it.

---------- Post added at 09:11 AM ---------- Previous post was at 08:58 AM ----------

Then the thermal properties of the snapdragon s800 chipset are a lot better compared to the XZ then :thumbup:

I've written about 80% from scratch, the remaining 20% is largely modified or reworked but has its source from the original scripts by krabappel2548 who modified them from a source by someone who did them for the Xperia T I believe...

Most of my scripting does however follow the ideas and workflow by the original source, I've split them up in 2 scripts to make it easier to debug.

I'm working on a completely different package though, creating a single installer which will detect the phone it's on, detects its resolution, detects the chipset, assembles the appropriate ramdisk and packing it up for use on the phone. This will allow me to have just one single installer holding all of the stuff needed to install it on any phone I support.

Once that's done XZDualRecovery will start supporting more devices very quickly :D
[Xperia Z1 Original Android Development] Jacob_Bentzen:
My phone is restarting before the installation is finished so what should I do??
[Xperia Z1 Original Android Development] [NUT]:
Try to install my Remount-Reboot fix first...

Once done redoing my build kitchen and finally ready to release my own package, the installer will be able to install on a Z1 without these issues...
[Xperia Z1 Original Android Development] POWER1FM:
For doomlord.

You have made a little zip for Xperia T to enable reboot to recovery from Rom manager.

Is it safe to use it here for Z1?

If its not compatible is it to much to ask you make one when you have time for Z1?
[Xperia Z1 Original Android Development] [NUT]:
It should work on the Z1 as well... He has a reboot app on play for a small amount too.
[Xperia Z1 Original Android Development] corydor13:
I used vRoot to root my Z1, then afterwards when I'd confirmed I had root. I used this tool to add the recovery to my phone, but after I had recovery, when it booted back up, I didn't have root. Then when I re rooted it, the recoveries disappeared.

Confused..

*Update*

Problem sorted. Sorry.
[Xperia Z1 Original Android Development] fer2503:
i noticed on download tab a version uploaded on the 13-10-2013. i installed the previous recovery, what are the differences? thanks :)
[Xperia Z1 Original Android Development] [NUT]:
No more reboots, fixed adb. :)
[Xperia Z1 Original Android Development] slonn:
error restoring /system

I'm getting an "error restoring /system" error message when trying to restore a backup made in cwm. When the phone reboots it's stuck on the Sony logo. I've seen this reported by another user as well. What could be the reason for this error? Had to reflash firmware and set up everything again.
[Xperia Z1 Original Android Development] delewer:
0 bits tar size NANDROID File, may be ?

I have say few post ago....

Don't know why.

I use TWRP for now.
[Xperia Z1 Original Android Development] Klaus N.:
@slonn

Did you give "factory reset" a try after restoring the backup?

Further, may I ask you, wether you've already tried successful a backup & restore with TWRP?
[Xperia Z1 Original Android Development] Desperanto86:
the same with twpr. stucks in logo because your system partition is formated. I was able to restore backup only with help of doomkernel...before it I've unlocked bootloader of course
[Xperia Z1 Original Android Development] slonn:
Only tried with cwm. Didn't do a factory reset

Sendt fra Xperia Z1

---------- Post added at 09:07 PM ---------- Previous post was at 09:06 PM ----------

Ok, but don't want to unlock the bootloader just yet because of the camera issue

Sendt fra Xperia Z1
[Xperia Z1 Original Android Development] Desperanto86:
I unlocked it, restored backup and then restored TA partition (its repairs camera).

But unlocking boot wipes all internal storage, thats you need to copy it on you PC
[Xperia Z1 Original Android Development] Klaus N.:
That would be no big problem, provided that you have made a backup with Backup TA before unlocking.
[Xperia Z1 Original Android Development] monx®:
guys, i think found another challenge. formatting system partition on Locked Bootloader is not working which may cause /system partition unable to mount. ADB delays is fixed atm..
[Xperia Z1 Original Android Development] Desperanto86:
formating works fine, because we have stuck on SONY logo, but then system partition can't be mounted

by the way: we can try next option in TWPR "Use rm -rf instead of formating" :)
[Xperia Z1 Original Android Development] [NUT]:
For those who have issues with restoring system, restore using an FTF, system only, re-root and reinstall XZDualRecovery, then restore backup of data only...

That should prevent issues with formatting. After restore check /cache if a folder called lost+found is in there, if it is missing restore using the FTF wiping just cache and excluding everything else.
[Xperia Z1 Original Android Development] monx®:
yes, the rm -f options is good. but very dangerous if ppl forget to check that option. /system is unmountable after formatting. thats the issue.
[Xperia Z1 Original Android Development] Desperanto86:
it is only for stock firmware...but if you use monx rom, you need to restore system too...
[Xperia Z1 Original Android Development] Shaky156:
Can monx throw out a log? Showing whats happening?
[Xperia Z1 Original Android Development] monx®:
culprit time_daemon again. just disable it completely. better losing time sync atm than unmountable /system after formatting.
[Xperia Z1 Original Android Development] delewer:
If you run umount command in console (twrp) you can not force umount ?

Same issue than sdcard1, but very dangerous for system :/
[Xperia Z1 Original Android Development] [NUT]:
Attached a new version disabling the time_daemon.

This version of the installer should now be able to install on a rooted ROM from the first try, it also shows a menu when starting, which asks what root app you use.

Depending on this choice it does something extra when using SuperSU. The installation script which is supposed to do it's magic on the phone would otherwise not run correctly.

SuperSU somehow does this differently from SuperUser and this is causing it to fail most of the first tries unless you set SuperSU to accept ALL root requests... which is bad practice :p

It will now disable RIC for those who do not yet have installed my remount-reboot fix during installation.

EDIT:

discovered a small error in my new installer version, corrected and uploaded a new version.
[Xperia Z1 Original Android Development] auras76:
with this version the phone dont boot,will stuck on recovery.
[Xperia Z1 Original Android Development] [NUT]:
Wait, what do you see happening? Are you able to boot to recovery and not to ROM or do you only see a Sony logo and nothing else?
[Xperia Z1 Original Android Development] auras76:
not boot in the rom ,keeps rebooting itself..
[Xperia Z1 Original Android Development] [NUT]:
Do you see the green or red led in that cycle? If so, do you use an external sdcard?
[Xperia Z1 Original Android Development] gregbradley:
I am using it and can boot into stock FW fine
[Xperia Z1 Original Android Development] auras76:
I can use recovery,but wont boot.

Reflashing dualrecovery.zip with another dualrecovery script don't help.
[Xperia Z1 Original Android Development] [NUT]:
Get in to TWRP recovery and use advanced to use the filemanager and rename chargemon.stock to chargemon.off
[Xperia Z1 Original Android Development] auras76:
Fixed now,reinstaling the rom and install dualrecovery with excluded daemon.
[Xperia Z1 Original Android Development] [NUT]:
You need that to allow offline charging though... I think the installer goofed up there and copied a version of the script over the binary called chargemon.stock.

I'll check it to make sure the installer is working properly later tonight.
[Xperia Z1 Original Android Development] auras76:
Ok,thanks.
[Xperia Z1 Original Android Development] [NUT]:
Although the installer was a little older then my latest XZDualRecovery one, it should have been working just fine, I've changed it a little to make sure it can't fail anymore on moving the chargemon binary.

Latest version now attached.

I also have a lead on why exfat sdcards might fail to mount, hope to have a fixed version soon.
[Xperia Z1 Original Android Development] y2grae:
Attached screenshot of using the tool.

there is no rebooting of device, it just flies to the end and says press to continue and then terminal closes

any clues?

rooted, su is working fine etc

but I can't get over this hurdle and can't work out why :(

edit: knew would be simple ... adb shell was denied by SU doh!
[Xperia Z1 Original Android Development] Klaus N.:
Deleted
[Xperia Z1 Original Android Development] delewer:
Ext sdcard don't fail to mount. Sdcard is mount on /storage/removable/sdcard1 like stock, like scripted in host /etc/vold.fstab

To successfull mount external_sd, we need to umount -l /storage/removable/sdcard1 first, then we can mount /external_sd in guest cpio twrp ramdisk

Don't try to mount, it's allready ok... try to umount first (in host or guest)
[Xperia Z1 Original Android Development] [NUT]:
I know, but remember 2 things:

1: I still have no Z1, so I am unable to verify stuff on my own... so feedback (like you just did) is very welcome :)

2: When you need to un-mount a system/rom mounted partition to be able to use the external_sd folder, something is not working right, right? That's what I was talking about.

From my perspective: when you can't use external_sd in recovery from the moment you get in to the recovery, without doing anything by hand to fix it, it failed to mount (what ever the reason might be).

---------- Post added at 12:37 AM ---------- Previous post was at 12:35 AM ----------

I know you fixed it already, but this is exactly why I released a new version with a better install script ;) This would never have happened in the latest version :fingers-crossed:
[MDA II, XDA II, 2060 Windows Mobile 2005 Upgrading] imablackhat:
whats so great about this? i have the wm2003se rom on my xda ii currently and i am thinking about upgrading im not sure yet. does the camera work in the new version? what bugs still remain?
[T-Mobile HTC One (M7)] SAbboushi:
Does Abe know how to get rid of the two icons to the left of the avatar icon? I believe one is for Google+

I am talking about the stock Internet browser, not chrome:
[Android Q&A, Help & Troubleshooting] Pants11:
Is it possible to unlock the bootloader on an Acer Iconia a200, if the tablet will not boot into Android?

While in fastboot mode, I enter FASTBOOT OEM UNLOCK, then I use the volume button to select the unlock icon and it tells me this:

SetUnlockedMode: Error occured while unlock the device ...

Fastboot: Failed to set unlock mode

Somebody please help
[Android Q&A, Help & Troubleshooting] Pants11:
I think I have figured out what's going on. From what I've gather from other threads, this Acer A200 tablet has a bootloader that is both LOCKED and ENCRYPTED with a secure boot key, that cannot be unlocked without the AES key from ACER which they "do not publish", hence when using nvflash I get the error:

Nvflash started rcm version 0X4 Command send failed (usb write failed)

And when using Fastboot OEM UNLOCK command and I select the unlock icon I get the error:

SetUnlockedMode: Error occured while unlock the device ...

Fastboot: Failed to set unlock mode

So this a200 tablet which boots up into an "encryption unsuccessful" message and now cannot even access the microSD card, the only option is to flash a new OS image, but that can't even be done because the bootloader is locked and encrypted, and nvflash can't be used to flash an unlocked bootloader for the same reason. Only solution is to sell this thing or send it to Acer.

Am I correct ?
[Android Q&A, Help & Troubleshooting] arkenzos:
stack in APX mode

I've the same problem bro. I think the only way is sell this Acer Iconia.
[Verizon LG G2] cheami:
Would this affect the black nav bar mod?

Edit: Works great, thanks! Nav bar still black.

http://imgur.com/xUcYRxD

Edit 2: The icon seems small, it that intended?
[Verizon LG G2] stetsonaw:
So if i just want the vertical ellipisis, and not worry about changing the keys, since i am using Auto Hide Softkeys, do i just flash the framework.odex? Or are the SystemUI and android.policy.odex files required as well?

I'm also already running another systemui mod, and don't really want to lose it.
[Verizon LG G2] sefnap:
Here's a zip with just the framework.odex: VerticalEllipsis.zip

The one in the OP will also replace the SystemUI and android.policy.odex, so avoid that one!

It should work fine by itself; it's just a one-byte patch to make ViewConfiguration.hasPermanentMenuKey() return false instead of true.
[Verizon LG G2] sefnap:
Great, I'm glad it worked! The icon does seem a bit small. It's just the icon that's included in the standard SystemUI. My guess is that they didn't bother themeing it to match the others since they knew it would be disabled. There is a copy in each theme bundle, but they all seem to be the same.
[Verizon LG G2] jmill75:
Is this suppose to give me recents button but keep the same icon?

If not is there a way to keep LG's button but just turn it into a recents with button overflow.
[Verizon LG G2] sefnap:
The zip in the post you quoted won't do anything to your navbar; it just makes apps display the three-dot menu onscreen. The zips in the OP will change the menu key into a recent apps key, including changing the icon. They will also change the behavior of the Home key so that a long-press acts like the Menu key instead of pulling up the recent app switcher.
[Verizon LG G2] jmill75:
First off, Thanks for creating making the mods for us...NICE!!!

Also, thanks for the clarification. Installing now.
[Verizon LG G2] giri0n:
I'm guessing this is implied, but should a restore to a backup (after flashing this mod) should revert both the icon and the behavior of the home button? I didn't see a zip that reverses out these mods (I mean to say) so should that be the correct process to reverse the changes?
[Verizon LG G2] Beaumac:
Would it be possible to have a variant of this mod to change the pull down menu button to the recent apps instead of the menu button? I have added the 4th button to the layout. It is a rectangle with an arrow pointing down.

The order would be: Back, Home, Menu, Recent Apps.
[Verizon LG G2] sefnap:
Yeah, restoring a backup will revert the changes. An "undo" zip is a good idea though! I went ahead and made one up: RevertRecentKeyMod.zip -- I'll edit the OP to include it. This will just flash the stock files back, and should revert all changes.
[Verizon LG G2] beddachedda:
Has anyone done this on a Pre-OTA device yet?
[Verizon LG G2] fr4nk1yn:
Looks like I will be the Guinea pig.
[Verizon LG G2] Gasaraki-:
Thank you. Nice job!
[Verizon LG G2] fr4nk1yn:
Installed and working great pre-OTA.
[Verizon LG G2] mjdupuis:
Works great! I liked the pull down button, a great idea for such a large screen, but having the recent apps button is great too. Coming from a galaxy nexus this is the best of both worlds. Thanks!
[Verizon LG G2] BrianTDI:
What did you modify in the lgsystemui.apk? I would like to incorporate the changes into another modified UI apk. Thanks.
[Verizon LG G2] sefnap:
Yeah, that shouldn't be too hard. I'll see what I can work up today if I have time.
[Verizon LG G2] sefnap:
I've removed the attached sources zip, as it had the small icon glitch. Please see the OP for a new one!
[Verizon LG G2] stetsonaw:
Got it working by ripping apart the other zip... I couldn't get my phone to download this one. Nonetheless, combined with Auto Hide Softkeys, i have a menu button on the nav bar only when needed, and a menu button in apps built for it! Only problem is some of the LG software, like the settings menu and Phone have a GIANT menu bar/button at the bottom. I can live with that though!

Thanks man!

Screenshots to follow.
[Verizon LG G2] stetsonaw:
Screenshots of the ellipsis mod only.
[Verizon LG G2] sefnap:
Awesome, thanks! I'll remove all the scary warnings in the OP.
[Verizon LG G2] fr4nk1yn:
Just the smallest of quibbles. The new recent button is smaller than the home and back.

I'm wondering if this phone will take to zip packager.
[Verizon LG G2] sefnap:
I actually just fixed this! It turns out I was using the id for the landscape resource for both portrait and landscape. New links are in the OP. :laugh:
[Verizon LG G2] cheami:
The icon doesn't rotate when in camera, changing from landscape to portrait. Anyway to fix?
[Verizon LG G2] beddachedda:
Awesome, thanks!
[Verizon LG G2] fr4nk1yn:
Awesome indeed! The buttons are now perfect. Couple questions: I'm running the black bar mod, I noticed [MENTION=4348360]cheami[/MENTION] is using this combo as well, The status bar has reverted to gradiated. I actually flashed together so I really can't say if it ever was.

Next question: I'm looking through to mod as well, of changing the bar size. It's way too big on this phone and the usable screen size is actually smaller than a DNA or S4
[Verizon LG G2] Wesley32:
I'd like to get this mod for at&t. I'll test for you, or just tell me what files to edit and I can mod it myself.
[Verizon LG G2] dmbfan13:
Yea I noticed that too. Tried flashing the black status bar/nav bar and it killed them both. Reverted back. I'll wait till we have it mod the status bar black too.
[Verizon LG G2] qwirked:
So am I understanding this correctly, this mod makes the onscreen buttons behave exactly as a Nexus device? Because that what I want.
[Verizon LG G2] stetsonaw:
Yes. You won't have a menu button when on the stock LG Homescreens, but you can longpress to get to apps/widgets/wallpapers, and reach all of the other options form the home Menu inside settings. You will however get a hideous menu button at the bottom of some proprietary apps like settings and phone/contacts. That is only if you use the VerticalEllipsis modded SystemUI hack or the standalone mod.
[Verizon LG G2] dmbfan13:
Anyone able to get this to work with the black navbar/status bar mod and smaller navbar mod??
[Verizon LG G2] fr4nk1yn:
Yes.

yes.
[Verizon LG G2] dmbfan13:
So currently, I have the 2 mods I listed and they look great!! So you're saying I can just flash the 'RecentAppsKey_v0.2zip' and everything should be fine? I tried this last time (minus the smaller navbar) and it made the status bar stock (black gradient look).

Maybe I'll just make a backup and give it a shot...
[Verizon LG G2] cheami:
Got a screenshot and/or download?
[Verizon LG G2] fr4nk1yn:
No. It works and it looks much better. Only two things left to make this perfect.

---------- Post added at 04:46 PM ---------- Previous post was at 04:31 PM ----------

no. The gradient status bar is still there. Sorry I misunderstood the question.

The small bar and the recent mods can be used together and works for the navigation bar.
[Verizon LG G2] dmbfan13:
Ahh ok, thanks for mentioning that! I'll just wait then.
[Verizon LG G2] jmilacek:
Links down for anyone else?
[Verizon LG G2] jasonsf:
Yes, down for me.
[Verizon LG G2] 777jon:
I updated my black status bar and navbar for the VZW G2 that implements sefnap's menu key mod. You can download it here if you want to try it out.
[Verizon LG G2] cheami:
https://db.tt/b2XrSVq

This is RecentAppsKey_with_ellipsis_0.2.

I'll remove the link if requested by [MENTION=5451916]sefnap[/MENTION].
[Verizon LG G2] mjdupuis:
I seem to have a problem: when on stock or the Blackhole ROM when I install this mod I can no longer change the lock screen wallpaper. It happened when I was on stock but I had a problem when using this mod and the black onscreen buttons mod. They seemed to interfere with one another so I figured the lock screen wallpaper issue was related. On the Blackhole ROM I don't have the black onscreen button mod, so I think it may be related. Any way to find out for sure what's causing it?
[Verizon LG G2] whittikins:
Are there any versions of this that will disable the long press function? This unfortunately causes a small delay when you press the home key inside an app because the system waits a second to detect if you're long pressing. I'd rather have no long press function and have a quick response.

You can compare this by entering an app and then compare the speed of using the Home key vs using the Back key to get back to the home screen. Maybe I'm wrong about the reason for the delay, but it seems to be the case!

Looking forward to an AT&T version :). I'm hoping this will work with the small and black navbar and status bar!
[Verizon LG G2] giri0n:
Zip Install fails

For those interested, this nav bar also auto hides itself, apparently (at least it did when I was streaming Castle via MX Player) which was one of my main beefs with this stock nav bar.

Excellent work here!

(EDIT: must have been a bad DL, as I tried it from the different thread and seems to have worked fine now)