yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Original Android Development] Langes:
New build up in the basketbuild/Official folder.

Should flash properly now.
[Xperia Z1 Original Android Development] ->---:
Flashing went ok. But now I have no recovery access (stuck at sony logo) and I cannot boot any more (stuck at bootanimation). I can access fastboot mode but flashing the kernel from 0813 build does not help. What can I do to resurrect my phone?

Edit: With the old kernel I can enter recovery. But why is the new build not working? :eek:

Edit 2: After doing a custom wipe (system, boot, cache) and reflashing it finally rebooted. Gave me the creeps when it was stuck and there was no recovery on the first try :( Funny part on it; I could do a custom backup with data partition but system backup is crashing the device and so far impossible :rolleyes:
[Xperia Z1 Original Android Development] Langes:
If your backup attempt was done during your last visit to recovery (twrp), could you post the contents of /cache/recovery/last_log
[Xperia Z1 Original Android Development] ->---:
I will do that the next time I make the backups. Because of all the trouble I restartet some times and tried to update the recovery, which does not work. Philz touch is stronger than TWRP. It is impossible for me to update to the recovery you implemented into PAC. I tried it several times. Not even Rashr did overwrite it.
[Xperia Z1 Original Android Development] Langes:
we've switched from patch recovery back to full recovery image. We've also switched to the old ROM packaging format. Next build should be better for you.

To that effect, I've uploaded a new twrp kernel to the basketbuild/Unofficial folder (recovery-pac_honami-twrp-20150830.img)

I'm also testing an update to the kernel, if all goes well I'll upload that also (in flashable zip as usual).
[Xperia Z1 Original Android Development] ->---:
I tried both files. The img and the zip. Put the setting "update recovery when flashin" to on. Flashed the img with the "recovery" function from Rashr and tried to start into TWRP. Still Philz Touch (vol button when purple LED). Flashed the zip within Philz and restarted. Still Philz Touch. Is there something I am doing wrong?

Attached the log from Philz when trying to backup. It seems the crash happend so sudden that the log did not recognize the attempt to backup. I shjows that the flash of the zip with TWRP went through fine.
[Xperia Z1 Original Android Development] Langes:
Looks like a Philz error. You should flash the recovery and the kernel image files file in fastboot:

save recovery in fastboot folder on PC as recovery.img

extract the boot.img file from the zip to the fastboot folder on PC

connect device in fastboot mode (blue LED)

in command prompt:

fastboot flash recovery recovery.img

fastboot flash boot boot.img

You should then have TWRP in FOTA as well as Ramdisk
[Xperia Z1 Original Android Development] ->---:
Worked. Now trying to backup . . . backup failed within TWRP on the data partition. Actual log attached.

I have two strange things to mention within the kernel.

- In FauxClock app the I/O scheduler for internal memory does not show up. I just can change it through performance settings in settings menu.

- The GPU shows following frequencies in the settings: 200, 27, 320, ... . I think the problem (27 MHz) was already part of Pimped Kernel and GreatDevs in the old days. Maybe you can put it to the first position instead of the second?
[Xperia Z1 Original Android Development] Langes:
Are you referring to the GPU frequency list in faux, or in kernel auditor? For me in kernel auditor I get a properly sorted list.

I wasn't aware that a GPU has an io scheduler, I'll have to find out about that one...
[Xperia Z1 Original Android Development] ->---:
Yeah, I was referring to Faux. You are right, in kernel aduitor all is well. So maybe its a problem with faux's app.

I did not mean that the GPU has an I/O scheduler, but the internal memory (sdcard0) has. But maybe this problem is also a fault in faux, because in aduitor all is well.

By the way, should it be named Auditor or Aduitor (actual)?

Is it safe to use the "set at startup" option? I had some bad errors on other kernels with faux. Crashes of major android functions that could just be fixed by fiddling with adb and the file system.

I cannot find the function to deactivate entropy on internal and external sdcard. Is there no such function or is it just no benefit?
[Xperia Z1 Original Android Development] Langes:
Adiutor is correct. The app is built as a system app with permission from the developer, who was part of the ROM team until his kernel app became popular. As such, I suspect that it will always work better than a third party kernel app.

From what I understand, entropy is not something you should/can switch off in android (or any Unix system for that matter)

I have 'set on boot' switched on at all the settings I have customized. Best would be to try one at a time and test it thoroughly, then you'll know which one causes issues (if any)
[Xperia Z1 Original Android Development] alex636:
Great rom... But is it possible to ad ambient display? It works great on resurrection remix...
[Xperia Z1 Original Android Development] Langes:
Go to Settings->Display & lights and read the description under LiveDisplay ...
[Xperia Z1 Original Android Development] alex636:
Talking about doze... Not livedisplay

In RR the option is called ambient display...

[
[Xperia Z1 Original Android Development] Langes:
iirc pocketmode and dt2w was dropped due to high battery drain. You might have the option if you flash your RR kernel after flashing PAC-ROM ...
[Xperia Z1 Original Android Development] alex636:
On RR there is no battery drain... Its not kernel related im using m5 kernel in rr
[Xperia Z1 Original Android Development] dawn2k:
Can you please include the headphone fix provided by Techpenguin5? Simply remove the last line in /system/usr/keylayout/msm8974-taiko-mtp-snd-card_Button_Jack.kl . I thaught it was something like key 229 HEADSETHOOK. That line triggers an infinte loop of Google Voice search input if you connect a trs jack (without microphone).
[Xperia Z1 Original Android Development] Abomb:
In TWRP the setting for screen brightness does not work, also during backup the screen stays on all the time with the highest brightness which causes my phone to get really hot. Is there a possibility this can be fixed or do I have to post in the TWRP forum or something?

Edit: Since a few months I have another problem when rebooting my phone, it sometimes just stops booting while showing the boot animation. Then I jave to turn it of and it will optimize all apps again on next boot. I attached the logcat from when it stops booting, I would really appreciate some help on this! :)
[Xperia Z1 Original Android Development] ->---:
I can confirm the point about the screen brightness setting. Just thought thats normal because I had no TWRP until now.
[Xperia Z1 Original Android Development] optimumpro:
I fixed TWRP screen brightness here http://xdaforums.com/xperia-z1/orig-development/rom-aosp-jaguar-lp-5-1-1-r13-official-t3188925 and in DU rom. I also wrote a commit at Slimrom, it just takes time for them to merge. And by the way, the fix had nothing to do with TWRP, there was a wrong flag put in by Slimteam in a device tree.
[Xperia Z1 Original Android Development] NiM72NiK:
guys i'm using this rom .its very great.. but i have a same problem on all cm12x roms and thats the touch screen...its somehow more sensitive to humidity and some stuff like metall ( something like pen mode but not exactly) .

i have it only on cm roms

is there any on can help me with this issue? any scripting on /system??
[Xperia Z1 Original Android Development] alexfadhili2:
Hi

Is anyone else having problems with the SD and internal memory? where the phone is unable to detect photos and video stored on the memery unless taken by the camera?

is there any way to fix this?

Sick Rom BTW 10/10 WOULD recommend !!
[Xperia Z1 Original Android Development] Abomb:
Is there any chance you (or anyone else) could commit the fix to pac or something? Or can I get a working TWRP image from somewhere?
[Xperia Z1 Original Android Development] optimumpro:
Do they use TWRP in PAC rom at all? Another option is for someone to post pac boot.img and I then will put my TWRP in it...
[Xperia Z1 Original Android Development] Langes:
PAC-ROM builds will have TWRP built-in once nightlies start again. I have also posted kernels and TWRP recoveries in the basketbuild/Unofficial folder. If you can point me to your commit(s) that fixes the TWRP issues, I will gladly add them to our repos
[Xperia Z1 Original Android Development] optimumpro:
There are quite a few additional flags missing. My implementation was based on Slimrom. Here it is: https://github.com/AOSPME/device_sony_rhine-common/commit/4c56a6eb31862dba2daa12535ff31206c5649a68
[Xperia Z1 Original Android Development] optimumpro:
Here is M5 PAC kernel with fixed TWRP:

Unzip and flash in fastboot: fastboot flash boot boot.img

Get rid of any recovery you might have in fota: fastboot erase recovery

P.S. This is NOT my version of M5 with hardened features, but rather PAC M5 with only TWRP replaced...
[Xperia Z1 Original Android Development] Abomb:
Just to get this clear, are there two types of recoveries, one "normal" one and one "in" the kernel? If so how do you access the one in the kernel? Or am I completely off the target?
[Xperia Z1 Original Android Development] optimumpro:
You just need to read instructions, which say get rid of any recovery you might have in fota by doing fastboot erase recovery. Then you will have 1 Twrp recovery in kernel with fixed brightness.

P.S. You can't have 2 twrps one in kernel one in fota, they collide and you will have no recovery at all. This kernel has builtin twrp, so to access that you need to erase another one in fota (if you have it - some people do).
[Xperia Z1 Original Android Development] Langes:
Incorrect

1 - the recovery inside the kernel is actually inside the ramdisk and is therefore called ramdisk recovery and can be accessed via 'reboot to recovery' option in power menu or by hitting a volume button at boot when the led comes on (if you're on a pac kernel, you'll also get a small vibration when the led comes on)

2 - the 'other' recovery is the new one that you get when you update your bootloader via Sony's Emma tool. This is the FOTA recovery and can only be accessed by first power off, then hold power and volume down button together until the Sony logo (I release after the vibration and it works)

The two recoveries doesn't 'interfere' with each other in any way and you can have any recovery you want in FOTA while the ramdisk recovery will always be the one that came with the latest kernel you flashed (kernel in a ROM or separate)

I have actually used the FOTA recovery extensively yesterday while testing recovery changes as some of my test recoveries was useless. If the recovery I was testing didn't work (ramdisk recovery in flashable zip), I just switched to FOTA recovery to flash a new one.

I therefore see no reason to wipe FOTA recovery to be able to use your own ramdisk recovery.

FYI Your TWRP brightness fix is in PAC, so the next build will have it, thanks [emoji4]
[Xperia Z1 Original Android Development] yaabaa1986:
dear PAC-user,

As I wait for the Camera bug to be solved as sony solves the bootloader unlock...

I read the cam is not focusing, is it working in other ways?

if it is working only not focusing can somebody upload a foto?

thank to all
[Xperia Z1 Original Android Development] kingOfTheLab:
Any news concerning the WiFi problems?

At first I thought my problem might have gone, but by now I know it hasn't.
[Xperia Z1 Original Android Development] jeroenqui:
Here are some images :

As for the wifi issue, I don't experience it. Did you try a full wipe yet? I'm using the latest custom build and it works fine. Please try to make a logcat when the problem occurs.

Thanks.
[Xperia Z1 Original Android Development] matheus_sc:
This rom will work in c6943, is Brazilian z1,have exact same bands of c6903 but with addition of TV.
[Xperia Z1 Original Android Development] 301stSpartan:
If that was meant as a question then I expect it will work, but you may just have to flash the baseband from your model's stock ROM at the end. Won't know till someone tries ;)
[Xperia Z1 Original Android Development] liqn7:
Here as well for the XZU. Think its due to the CM10.2 tree as its happened on Carbon, PA and CM10.2 as well.

Wifi connection frequently connects/disconnects and is not as strong as stock (reverts to cellular data in areas where stock gets wifi)/

Could someone please look into this as its forced me to go back to stock? :(

cheers
[Xperia Z1 Original Android Development] Juzman:
I've not read enough into this whole TA / camera issue but can I not just:

1. Backup TA

2. Unlock bootloader

3. Restore TA

4. Flash PAC

Then camera will work?

Edit: read this post http://xdaforums.com/showpost.php?p=46931570&postcount=6
[Xperia Z1 Original Android Development] 301stSpartan:
No. When you restore TA you re-lock the bootloader so only stock based ROMs will work.
[Xperia Z1 Original Android Development] Buster99:
Got mine today - but with 257 preupdated by our telephone guy. :(

so i have to wait unil root for 257 is out.

will PACman work with the recovery for locked bootloaders btw? need a signature first from my boss untill i can go and unlock it.

cheers

Buster
[Xperia Z1 Original Android Development] B1nny:
You can just flash a lower firmware by using FlashTool.
[Xperia Z1 Original Android Development] 301stSpartan:
No. A locked bootloader means you can only run a stock kernel which means only stock based ROMs. So no AOSP ROMs
[Xperia Z1 Original Android Development] Buster99:
my bad. you're right of course.

too bad i still need a signature to get pac on. i hate stock roms.

:)

cheers

buster
[Xperia Z1 Original Android Development] Markieboy:
no go...

Since nightly 05 it just boots into every force close going 04 is the only one working for me ????

any ideas :(

Many thanks

603

generic

uk voda
[Xperia Z1 Original Android Development] Buster99:
5 and 6.11 had issues on my s4 as well. since i didnt wanna go through allbsystem settings again i reflashed 3.11. seems like framework changes again. try a nandroid and test a fresh/clean install.

cheers

buster
[Xperia Z1 Original Android Development] Markieboy:


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

Tried 04 version is only one that works
[Xperia Z1 Original Android Development] dlads:
Good to see another Z1 rom pop up, thanks for this :)

Sony really need to get on that camera problem sharpish.
[Xperia Z1 Original Android Development] Wobzy:
My Z1 is waiting at the post office for me to pick up in the morning, should I not make plans to retire my XL just yet?

I've noticed alot of missing camera functionality in the AOSP ROM threads, but is there actually a problem with it stock?

-

Sent via xda-dev app on my Telstra HOXL;

- hboot 2.15 / s-off / super cid / stock kernel

- android 4.2 / sense 5 / viperxl 4.2.0
[Xperia Z1 Original Android Development] Ahki767:
Nothing wrong with it stock. Only when you unlock your bootloader, you'll lose camera
[Xperia Z1 Original Android Development] Bloch_hd2:
Well this thread have been awful silence for some time, any news :)?

Sendt fra min C6603 med Tapatalk
[Xperia Z1 Original Android Development] jeroenqui:
The PAC team is working hard to rebuild all the features for the new 4.4 Android. This takes a lot of time and effort. The team has decided not to give out alpha builds yet. The reason of that is the lack of implemented features that are not ready yet, but mandatory for a good PAC experience. These are hybrid settings (waiting for Paranoid Android) and our settings menu. As soon as those are ready or at least usable, an alpha build will be released.

So, concluded, it takes some more time, but as most features are rewritten, in the end you will get a faster and less buggy rom. Until then I suggest to use the PAC 4.3 rom, as it's pretty stable.

Thanks for your patience and of course I will keep you posted when there is some news.

jeroenqui
[Xperia Z1 Original Android Development] optimumpro:
I said that you couldn't have 2 TWRP recoveries: They will collide resulting in no recovery at all. That's why people who have TWRP in fota must erase recovery to use the other twrp that is built-in in boot.img.
[Xperia Z1 Original Android Development] Langes:
I have two TWRP recoveries on my Z1 ...
[Xperia Z1 Original Android Development] optimumpro:
Never had it work (not that you need 2) and there were plenty of users complaining they couldn't have any recovery; but once they did fastboot erase recovery, they could access in boot twrp...
[Xperia Z1 Original Android Development] Langes:
maybe everyone should erase recovery and then flash recovery to get it working? worth a try I guess
[Xperia Z1 Original Android Development] Langes:
There is a new build up for you guys (my own build, not a Jenkins build): basketbuild/Unofficial pac_honami_LP-MR1.Beta-3.Official_20150914-211433.zip

For those interested, I have also uploaded a new recovery with the [MENTION=5075064]optimumpro[/MENTION] brightness fix: recovery-pac_honami-twrp-20150914.img

as well as a new flashable zip with the latest M5 kernel and above recovery: M5Kernel-pac_honami-twrp-20150914.zip

The recovery can be flashed to your FOTA partition (if you have upgraded your bootloader)

If your recovery cannot flash the kernel zip (i.e. cm recovery) you can extract the boot.img and flash it via fastboot/flashtool

The full ROM obviously includes the above kernel and recovery (easiest and most preferred option)
[Xperia Z1 Original Android Development] maxsam4:
whats new in this build?
[Xperia Z1 Original Android Development] Langes:
Difficult to say, as I don't keep track of these things :confused:

I doubt that the previous build had the latest stagefright patches from CM

There has been some changes to power suspend (kernel side)

Notification drawer header image was added recently

SlimPIE was added recently

Some under-the-hood improvements/enhancements

Our gerrit is full of changes, you can search the frameworks/base and the packages/apps/Settings repos to see the ROM specific stuff.
[Xperia Z1 Original Android Development] ->---:
Maybe I found out why the backup process ended in a spontaneous reboot. I always tried to backup with compression. Philz is able to do that but TWRP seems not. So every time the amount of files was to much (system, data partition) the phone hung itself and rebooted. After disabling file compression it went through without errors.^

Edit: I could not get your inoffical build to work. Got stuck on the bootanimation every time. Tried it several times. After restoring my backup all went well. I also flashed just the boot part with the new recovery and the new kernel after restoring and those work.
[Xperia Z1 Original Android Development] Langes:
New build up on the basketbuild/Official folder: pac_honami-lp-mr1-Official-20150921.zip

Should fix the performance regression experienced in my previous "Unofficial" build
[Xperia Z1 Original Android Development] ->---:
Not working on my device. I am not sure if it is my phone or something else? Has somebody got it to work? I get stuck in the bootanimation, endless repeating. Restored the system part of the backup and all is working well again. But the last two builds do not work with me.
[Xperia Z1 Original Android Development] dawn2k:
Did you try to erase and re-install the recovery? Perform a "fastboot erase recovery" and "fastboot flash recovery recovery-pac_honami-twrp-20150914.img". This might fix it, assuming you still have CWM running.

I had the same problem when TWRP broke some weeks ago.

The current build is working fine on my device, everything feels much smoother (was using unofficial build 09/14/15 before). However Google Play services keep crashing every now and then since the last few builds. I tried wiping settings/cache, uninstalling Play services updates and re-installing and re-installating GApps but that did not fix it. While this does not affect the performance its still kind of annoying. Any ideas how to fix that w/o full wipe?
[Xperia Z1 Original Android Development] Langes:
Could you get a logcat of the play services crashing? I'm assuming you are not using xposed or any other funky system modifiers? Even if you had in the past, there may be some remnants of that until you actually perform a full wipe
[Xperia Z1 Original Android Development] ->---:
Thanks for the suggestion. I tried it, but same thing as before. Flash works normal, wiping is ok but it got stuck at the bootanimation. After 20 minutes I forced it down and restored the system partition.

Is it possible that the issue has something to do with aduitor settings (lowered voltage)? Because when I got stuck the first time I had no overheating settings applied and the phone got really warm. Now I had some and it did not got nearly to that temperature. So I imagine the aduitor settings already work directly from swithicng it on. Not just the moment you enter the system by entering the pin.
[Xperia Z1 Original Android Development] Langes:
New build up in basketbuild/Unofficial: pac_honami_LP-MR1.Beta-3.Official_20150929-205025.zip

---------- Post added at 09:46 AM ---------- Previous post was at 09:40 AM ----------

Did you try reverting to stock and flashing from scratch?
[Xperia Z1 Original Android Development] ->---:
That will be my next task to try. But not until there is an stock ftf from 5.1.1 and my land or region (austria/europe). Because if I do so it should really be the most actual Android, not some old version and 5.1.1 is already out in some parts of the world. By the way, would the new stock recovery already be part of such an ftf?
[Xperia Z1 Original Android Development] ahzhang452:
aye before you wipe your phone, I've been having these issues too, I fixed it by going to Setting>Privacy>Privacy Guard>Show built-in apps>Long press Google Play services then put the Wake up and Keep awake on, this solved the issue for me so give it a shot :)
[Xperia Z1 Original Android Development] Langes:
Flashing an ftf file will not modify your bootloader, so you will keep your "new stock recovery"
[Xperia Z1 Original Android Development] ->---:
That's it exactly ;) I tried to install it several times, but it dod never work. So I have to use EMMA tool after flashing tft as I understand it.
[Xperia Z1 Original Android Development] Langes:
Just found out that the 5.1.1 ftf should have the new recovery with it...
[Xperia Z1 Original Android Development] ahzhang452:
For some reason after the latest official update my voltages got reset again and snapchat lags, even after I've fixed the voltages o.O

EDIT: the main camera also seems to lag, along with any other camera apps I have.
[Xperia Z1 Original Android Development] ->---:
Finally, after a ftf flash I got the latest PACs to work.

But on the new inoffical build I get no connection to WLAN. In the settings I can see that the IP is called and obtained. But it can't connect - symbol in taskbar is there with callsign before the system gives up. Strangely Catlog and SystemTuner are not able to record anything. Also there is no lastksmg anywhere to find. I did not try the latest official build.

Edit: It is really annoying. I tried to install the latest official - bootloop at bootanimation.