yashsingh1/xdaforums huggingface dataset:
[HTC One X+] heavy_metal_man:
Okay, lets just recap.

So you flashed a kernel that was not supported by your model and now the device wont boot. So you tried to flash a ruu, but couldnt find one with your cid. So you changed your cid and re-applied s-on?

So no ruu flash occured?

Just the bad kernel flash?

Then how about this for a plan.

1. htcdev unlock the bootloader.

2. Flash a compatiable custom recovery from your device specific section.

3. Flash a compatiable custom rom for your device, thus making it boot again.

If your hboot has not been damaged ie wrong hboot flashed then a htcdev unlock should work fine. No ruu needed, not that they will work without the mid and cid matching.

Edited to remove irrelevant data.
[HTC One X+] jcaballero:
Jtag, my last chance

Hi guys, thanks for your help

iElvis, you right, I did things that I didn't know what it was about, I was so desperate.

I'll send my phone to a repair center where use the JTAG. Thanks for the info, I didn't know there was such thing :good:

heavy_metal_man

Yeah, that's the summary of what I did.. but.. I can't go back to the recovery (hboot don't work), i'm stuck in ruu mode (black screen with htc logo), So, I can't unlock de bootloader because I can't go in fastboot mode, I'm S-ON and everything I've tried I get this error: FAILED (remote: not allowed) :crying:

If you know someone (an oriental guy hahaha) that know how to encrypt a modified zip RUU to flash in ruu mode, please let me know :D

Thanks for everything :good:

Cheers.
[HTC One X+] heavy_metal_man:
Try the command

fastboot reboot-bootloader

To get out of ruu mode.
[HTC One X+] jcaballero:
No man, It brings me back to the ruu mode, i damaged my hboot
[HTC One X+] jcaballero:
Guys, I will try this tool to encrypt the ruu.zip with the modified CID, i'm installing a linux virtual machine.. I will keep you informed... :D

http://xdaforums.com/showthread.php?t=2199638
[HTC One X+] jcaballero:
Bad news

I re-encrypted a ROM, but I have the same issue about the signature..

"The leading 256 bytes is the signature of the zip file, you'll need to disregard it. There's no way we can sign the zip correctly without HTC's private key"

https://github.com/kmdm/ruuveal/issues/8

Sending to a Jtag repair center...

Cheers
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] bilgerryan:
Just go into res/values/dimens.xml once you have it decompiled and change every line with SFinder or QuickConnect to "0.0dip" using Notepad++ then recompile the apk and remove the SF and QC apks... It's a lot easier that way. Xposed works fine but you have to use the Samsung specific one. There is a link in my Wicked X thread.
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] MikeDacre:
Thanks so much bilgerryan, I am doing that now. I have another dumb question: what is the best way to copy back the new apk? Is it fine for me to use adb to do it from the recovery? I would just delete the original (after backing up) and then copy my modified version in.
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] MikeDacre:
Also, (sorry for the multi-post), do I need to wipe both the Cache and the Dalvik Cache partitions after making the switch?
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] bilgerryan:
You have to set permissions to 0644 after you copy it over.. I use root browser. Long press on the file, press Permissions and then make it look like the screenshot. Or you can just use my ROM (second screenshot), it is already removed plus a bunch of other fun stuff... Wicked X v10.6 in Android Development section.
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] MikeDacre:
Great, thanks. I will give your ROM a try in the future, but right now I want to figure out how to do this :) I just tried it copying back my modified apk and wiping the cache and dalvik, but after it booted, there was no systemui :(

I just changed the permissions to 644 now, they were 777 before, so that may have been the problem.

Do I need to wipe the cache and dalvik every time? It takes a really long time to boot after that.

Thanks again!
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] bilgerryan:
No, you only need to do that when completely removing a system app. A record is enough. I haven't worked with odex in a long time, I can't remember if there is anything extra you need to do.
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] MikeDacre:
OK, unfortunately after making the changes, there is no SystemUI; all I have is my launcher (SmartLauncher) with a black background and no notification bar. After restarting I have the same issue. By putting back the old SystemUI.apk I fix the problem.

Here is what I tried:

Copy the SystemUI.apk file from /system/priv-app/SystemUI/SystemUI.apk

Copy the frameworks from /system/frameworks/twframework-res.apk and /system/framework/framework-res.apk

Install all frameworks:

apktool if framework-res.apk
apktool if twframework-res.apk
apktool if SystemUI.apk

Decompile the apk:

apktool d SystemUI.apk

Edit res/values/dimens.xml with vim. Here is the patch of my edits:

--- /tmp/vqMxlsi/3 2015-08-19 18:23:07.346653666 -0700
+++ /tmp/vqMxlsi/4 2015-08-19 18:23:07.369986999 -0700
@@ -832,8 +832,8 @@
<dimen name="finder_connect_button_padding_top">11.0dip</dimen>
<dimen name="finder_connect_button_height">35.0dip</dimen>
<dimen name="finder_connect_layout_height">57.0dip</dimen>
- <dimen name="tw_quick_panel_sfinder_qconnect_button_text_size">16.0dip</dimen>
- <dimen name="tw_quick_panel_sfinder_qconnect_drawable_padding">5.0dip</dimen>
+ <dimen name="tw_quick_panel_sfinder_qconnect_button_text_size">0.0dip</dimen>
+ <dimen name="tw_quick_panel_sfinder_qconnect_drawable_padding">0.0dip</dimen>
<dimen name="notificatoin_big_picture_height">176.0dip</dimen>
<dimen name="rssi_battery_gap">3.0dip</dimen>
<dimen name="battery_icon_width">10.0dip</dimen>

Recompile the apk:

apktool b SystemUI

Zipalign the apk:

zipalign -v 4 SystemUI/dist/SystemUI.apk final/SystemUI.apk

Copy the new apk to my external sd

Connect with adb and do the following:

mount -o remount,rw /system
cd /system/priv-app/SystemUI
cp SystemUI.apk /storage/extSdCard/Backup/SystemUI.apk
rm SystemUI.apk
cp /storage/extSdCare/SystemUI.apk .
chmod 644 SystemUI.apk
reboot

Is there something else I am missing? It seems that after my edits, SystemUI.apk just doesn't launch at all. There isn't even an error message. But all I changed are those two lines. The problem is the same with or without the zipalign step. Doing essentially the same procedure above to restore the old SystemUI.apk brings everything back to normal, so I don't think it is a permissions issue. Wiping the cache and dalvik and restarting makes no difference, I have the same problem. Restarting a couple of times also does not resolve the problem.

Any ideas?
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] bilgerryan:
It's because it's odexed. That is why almost every ROM you see is deodexed except stock ROMs.
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] MikeDacre:
Do you think it is possible for me to deodex it? I did that before after editing the smali as described above, but I didn't know what to do with the arm/ directory and so I just deleted it, and that didn't work (Got a SystemUI has crashed message).
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] bilgerryan:
You would have to deodex the entire ROM.
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] MikeDacre:
Ah! I understand. Sorry for all of these super basic beginner questions. OK, so I am thinking about deodexing the system ROM now, I realize that I could just install an already made custom ROM, but I would like to try this.

As this is my first time trying this, could you clarify if this will work:

Download this tool: http://androidforums.com/threads/tool-linux-batch-lollipop-deodex-v1-9-8-9-15.931146/

Copy /system/app, /system/priv-app, and /system/framework to my computer

Run the 'deodex_lollipop' tool

Create a very simple flashable zip using the sample here: http://www.droidviews.com/create-flashable-zips-cwmtwrp-recovery/ with the contents of the deodexed /system folder I just created

Flash that in TWRP

Then make the edits I mentioned above to the SystemUI.apk

Will that work? Or is it likely to be very difficult?

If it does work, are there downsides to doing it? Not getting future updates, running slower, etc, or should it be basically the same as before except with the s-finder toolbar gone?

Thanks so much for all of your help, this is really great. :good:
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] bilgerryan:
It should work but line with everything on here requires a lot of trial and error. If it sounds like something you want to try then go ahead.
[T-Mobile Samsung Galaxy S6 Edge+] budco2000:
Got mine delivered today (8/19). After having all 4 Notes this is my first non Note phone in 4 years. Always bought the Note series for screen size and powerful hardware, and not the S-pen which I never used except to try it out and screw around, so yea, it's not important to me.

If you want to use Samsung pay, don't root. I read an article from chainfire if you root you can't use Samsung pay. Even if you unroot you still can't use it because knox is triggered to 1
[T-Mobile Samsung Galaxy S6 Edge+] ToledoG28:
Well for me this phone looks like a note . If we are talking about the size. Btw ....amazing and powerful device. I got mine yesterday. Cant wait for root. I dont use or plan to use samsung pay. I would like to debloat this baby!!
[T-Mobile Samsung Galaxy S6 Edge+] seansc144:
There's a site that has root working but for other devices though I sure wish someone could use that info there and share it here.
[Xperia Z3 Q&A, Help & Troubleshooting] festizzio:
I found this old thread:

http://xdaforums.com/showpost.php?p=19032014&postcount=6

But I'm not sure how this would translate to the Z3. Is there anyone more knowledgeable than I am at this who can shed some light on this? It seems like the same issue and hopefully same solution.
[General Questions and Answers] Tiger918:
AK kernal and profiles

How do you make a profile work with ROM. How do you install ?
[General Questions and Answers] Tiger918:
I am new may be I ask question in wrong thread but no body answered
[XDA Assist] psdillon:
I was wondering if we could get a new forum category for Sony Android TVs created? There's no real place on the net for these TVs. The biggest issue is finding compatible APKs for side-loading, especially ones that are restricted by region. Sub-categories could be:

General

Q&A/Help

Apps

Region Specific (Freeview, etc.)

I would be more than happy to moderate these forums in a temporary or on-going basis.

Thanks,

Paul
[XDA Assist] Mike B.:
Hello and thank you for using XDA Assist.

You may request a new device forum at *** New Device Forum Requests *** .

Mod Edit: Made link clickable. :)

Good Luck!
[XDA Assist] psdillon:
Thanks very much, request has been posted!
[XDA Assist] Jadoon2248:
Hy Guys !

Sorry for bad English :o

I am having weird issue with my s3 neo . My phone is rooted and have installed superSu and cmw. when i try any custom rom everything goes fine. i followed every step and no error before or during installation. but when i reboot my phone nothing happens. no custom rom installed.

i tried twrp and cmw both.

one thing i want to mention , my SuperSu isn't updating and universal init.d is also installed i tried more than 5 different roms (4.4,5.1) but nothing happens .

Any suggestions ?

thank You in Advance :)
[XDA Assist] Mike B.:
Hello and thank you for using XDA Assist.

Sorry to hear about your trouble but fortunately there is an XDA area dedicated to the Samsung Galaxy S3 Neo at http://xdaforums.com/galaxy-s3-neo . I suggest you post your question with all relevant details in the friendly Q&A forum there at http://xdaforums.com/galaxy-s3-neo/help where the experts familiar with your device will be best able to guide you.

Good Luck!
[XDA Assist] Jadoon2248:
Thank You :) :)
[Sprint  Galaxy Note 4 Q&A, Help & Troubleshooting] toenail_flicker:
I am unrooted on KK4.4.4 and don't want to upgrade or root at present. I searched the phone, the forum, the net, and tried everything I can think of. Still can't find the answer. Please help!

I made the mistake of disabling the pop-up box that has to do with wireless charging and battery full/disconnect because it was annoying. Now it has a sound that is one hundred times more annoying. All I want to do is turn the silent box notification back on. Any ideas other than a factory reset? I just got it setup and don't want to redo everything. Thanks in advance.
[Sprint  Galaxy Note 4 Q&A, Help & Troubleshooting] toenail_flicker:
Moderators - please delete this thread

Sick, and apparently stupid today also. Found a way to turn the sound off and that's all I needed.

Moderators - please delete this thread. Sorry.
[MDA II, XDA II, 2060 Windows Mobile 2005 Upgrading] kpeando:
who has the ROM wm6 for tsm500 please....
[MDA II, XDA II, 2060 Windows Mobile 2005 Upgrading] Rudegar:
http://xdaforums.com/showthread.php?t=293352

personaly i would not hold my breath though
[Android Q&A, Help & Troubleshooting] hakukokuhakujin:
need help identifiing if brick on my LG

So I have a LG LS660 tribute and I just rooted it with king root and I put exposed frame work on it and I tried putting code in a file to try to change ﻿the norfinacation bar. Well I put some code after a files named build.prop or ROM/build.prop and I put a space after well between ﻿the code and file then I rebooted it and it turns on and has them LG logo and trhen goes black. O can only get into factory setting and.rest twice but I'm not sure about download moad. I will have aceess to a computer.tonorrow so any help on this would help.
[Xperia SP Q&A, Help & Troubleshooting] Raf3000:
Xperia sp First root, flash and... crash!

Hi all,

at last I got my first root.... Warranty was ended on my Xperia SP so I decided to give a chance to Lollipop.

Started with root (veeery smooth, towelroot and superSU), then CWM to have a good parachute, and after all, CM12 (plus googleApps and a couple more fixes found in this site).

Let's say... almost eveerything ok when I realized that a CM 12.1 was issued and wanted to give a chance to this too.

And now the real troubles started, mainly because of CWM.

The phone didn't boot anymore in recovery mode, so I even wasn't able to recover my backup, trying to reinstall CWM, the batch stated that version was unknown. So, it deleted the existing files.

I was able to reinstall them modifying a line checking version (added || IS_CM12)

This was the only way to take back my deart recovery menu.

But seems it waqsn't a good idea.... bricked. Jumping up&down the net to pick back the previous release of android via Flashtool, at last seems I found it.

Of course, as soon as restored, I'll try again, nut I think that there's a basilar problem: CMW is not done to work with CM12, is it? And if so, which other solutions will I have, should I need again a recover or a new version?

Thank you all for reading till here ;)

Cheers

Raff
[Xperia SP Q&A, Help & Troubleshooting] Zenith:
Use TWRP from now on no matter what ROM you use.

Install Rashr from here: https://mega.nz/#!lxVHjBZR!24FtZk7h8vp07TML489hujJsTYOzUzGWXLoDwWlEHMw

Then flash recovery from here: http://xdaforums.com/xperia-sp/development/ubl-twrp-f2fs-support-xperia-sp-huashan-t3150230
[Xperia SP Q&A, Help & Troubleshooting] lucasgta95:
I prefer philz touch
[Xperia SP Q&A, Help & Troubleshooting] Raf3000:
So both of you prefer other than CWM? Just askling since almost all update tutorials moention CWM as the first option...

Thank you!
[Xperia SP Q&A, Help & Troubleshooting] Zenith:
Actually yeah!

and CWM is outdated, it can be used with JB/KK I guess, but almost all Lollipop devs recommend using TWRP/Philz.
[Xperia SP Q&A, Help & Troubleshooting] Raf3000:
Bootloader unlocked?

How could I check if bootloader is already unlocked since it's one of the prereqs for TWRP?

I verified that unlock is allowed, but before going ahead asking Sony the code, maybe it's useless? It's already rooted...

Thanks guys!
[Xperia SP Q&A, Help & Troubleshooting] Zenith:
Why would it be useless?

Go ahead and ask for the code,

and it should say something like "Bootloader unlocked: Yes" or "Bootloader Unlock: Done" on the service menu after you unlock it.

and don't forget to backup TA Partition before Unlocking.
[Xperia SP Q&A, Help & Troubleshooting] Raf3000:
I'm sorry, I didn't explain, I mean IF the phone is already unlocked it's useless asking the code.

From service menu -> configuration -> rooting status I have Bootolader Unlock allowed: yes

Ok... How could I backup it if I still don't have TWRP installed?

Sorry if silly questions...

Thanks
[Xperia SP Q&A, Help & Troubleshooting] Zenith:
"Bootloader Unlock allowed: yes" means that your bootloader is still locked, and you can unlock it if you want.

..and about TA Backup, read this thread: http://xdaforums.com/showthread.php?t=2292598

and it's okay, everyone is a noob at the beginning :)

Hit thanks if I helped!
[Xperia SP Q&A, Help & Troubleshooting] Raf3000:
I did it!

Great! Unlocked and TA backupped. Now, TWRP.

Now, I know, I'm going to be boring... to be honest I'd like the graphics of Sony, but I'd like to upgrade to 5 too, so, I could proceed with CM12.1, and I'll have 5.1.1 but not "Sony style", or I could try smthg like customized ROM (don't remember the name, should retrieve my browsing history) based on CM12.1 but keeping Xperia Z series style...

What's your advice?

Thanks a lot
[Xperia SP Q&A, Help & Troubleshooting] Raf3000:
uhm... no... no TWRP...

rashr says that flash went ok, but when I ask to restart in recovery, it rtats as usual. And I can't see TWRP logo in the home page of rashr...
[Xperia SP Q&A, Help & Troubleshooting] Zenith:
If you want Xperia styled appearance and a stable ROM,

Try any CM12.1 based ROM like AICP and use Xperia Z4 Theme

or 'StryFlex' if you want Sony's Official Xperia Lollipop UI, but it's not 100% stable yet, so I'd suggest you to use AICP.

---------- Post added at 11:47 PM ---------- Previous post was at 11:45 PM ----------

did you install Rashr from playstore? or from the link I posted?
[Xperia SP Q&A, Help & Troubleshooting] Raf3000:
I agree, I prefer more stable so I think I'll go with the first option

Actually, no, I used playstore. Removed and installed the link's one. Flash took some seconds more, it seemed a real flash, but at reboot notihing changed, non recovery boot.

But... I can see a fraction of second before the logo Sony a kind of menu, I can imagine it's TWRP, but I don't understand why it doesn't stop there...
[Xperia SP Q&A, Help & Troubleshooting] Zenith:
When you see the sony logo, or watch the LED light up, press volume down button to Enter TWRP.

and try a few times if you can't get into it the first time.
[Xperia SP Q&A, Help & Troubleshooting] Raf3000:
Ok, I'll try, strange is that I donwloaded "quick boot" exactly to avoid this rush against the time, and reboot in recovery mode has this behaviour. I'll try in simple way now.
[Xperia SP Q&A, Help & Troubleshooting] Zenith:
Whichever suits you :)

Do a full wipe and flash tangerine after flashing the ROM,

Don't reboot before flashing tangerine as you'll be stuck with the Cyanogen recovery.
[Xperia SP Q&A, Help & Troubleshooting] Raf3000:
Nope... I'm still stuck at recovery point, I cannot access, I can't stop the boot... i hate it!!
[Xperia SP Q&A, Help & Troubleshooting] Zenith:
You're stuck in a bootloop?

---------- Post added at 02:12 AM ---------- Previous post was at 02:02 AM ----------

If you're stuck in a bootloop, then turn off your phone (using the button on the back)

Download and flash this via 'fastboot mode' on Flashtool,

Your phone won't boot, but you'll be able to get in recovery by pressing the vol down.

and if your phone doesn't have much charge left, then leave it on charge for sometime after flashing the .elf file.
[Xperia SP Q&A, Help & Troubleshooting] Raf3000:
Nono thank's God.

I'm stuck because I can't update, since I have no chance to access the recovery menu: it brings me directly to original phone. No Rashr (store or linked), no dd ... nothing seems to work for recovery. I'm afraid that if I'll execute the batch for CWM_SP_4.4.1 it will work, but I'll be again at the very bad point of 2 days ago after flashed...
[Xperia SP Q&A, Help & Troubleshooting] Zenith:
That will work too, and I think that will be easier for you to install and enter recovery.

Install that, reboot, press vol. down button when you see the fourth light (probably blue).
[Xperia SP Q&A, Help & Troubleshooting] Raf3000:
Right, this is the process that I went through las time.

But then, what happened: recovery menu ok, from there, flashed CM 12, from that point on, at boot I didn't get the red green blue lights, but 3 times red, and boot normally.

And that's ok. But when I've been trying to re enter recovery because wanted to flash CM12.1, it didn't worked, I wasn't able to enter recovery menu.

So, I uninstalled, again via CWM batch, the recovery apps, and tried to reinstall: the batch replied that system wasn't supported because of unknown version. Looking inside the batch, it checked for CM11 and not 12. I added CM12 by hand, so recoveries installed and rebooting...... bricked.

So I had to go througt the process of flashtool, searching for a stock image, and so on, and now I'm again with the original .205 kernel.

Do you advice to proceed anyway with CWM install? Or, maybe, I could try to reflash the original kernel and retry the rashr process?

Thank you for your precious support
[Xperia SP Q&A, Help & Troubleshooting] Raf3000:
Ok, just tried to reflash the original kernel and follow the Rashr procedure, and no luck - all as prevoiusly.

Going to try with the old way (CWM install).

Thank you
[Xperia SP Q&A, Help & Troubleshooting] Zenith:
I told you to flash Tangerine right after flashing AICP..

Let me make it clear, when you install a ROM, a "fresh installation" is always recommended.

Fresh install = Wiping everything (Cache, System, Data, Internal storage, etc) except the sdcard and then installing the ROM.

and every time you wipe, your recovery will be gone too..

So after flashing a ROM, if the ROM doesn't include a recovery, you have to flash a recovery, or a kernel that includes a recovery.

However if you didn't flash a recovery right after flashing the ROM, then you can use the Rashr method to install recovery again. It supports all ROMs.

and the dssmex recovery method is outdated, it works on JB/KK I guess.

But you should always try the Rashr or any alternate method if you're on a LP ROM.

and again, DO NOT USE CWM! Try TWRP or Philz.

and try this if you get stuck in a bootloop, or soft-brick your device. You don't need to flash the stock ftf again just to get into recovery :/

and please read the whole XDA thread or at least the first page, of the ROM you wanna install before you do it.

anyways, after getting the recovery,

Enter TWRP

Do a full wipe

Flash ROM

Flash Tangerine

Flash Gapps

Wipe dalvik & cache

Reboot system

It'll take a long time, just wait and do nothing. when the phone boots up completely, again wait for 5/6 minutes.

Then start using it.

...again Read at least the first page of the thread of the ROM you wanna install.
[Xperia SP Q&A, Help & Troubleshooting] Raf3000:
Wait Zenith... I'm sorry I wasnt' clear enough in my post.. what I reported is what happened BEFORE starting this topic!

Sure, I always wipe out all the 3 parts

So this time I flashed the stock, original ROM using Flashtool, and I repeated the steps that you posted at the beginning of this thread, but result was the same. I had to go with CWM_SP_4.4.1, its batch installed all 3 recoveries, TWRP, CWM and Philz

This is what I'll do next. I flashed CM12.1 and its GAPPS with no Tangerine just to be sure that I was able to access the TWRP, and it was. So now I'll follow your list.

Where, in the list, should I add the Xperia Z4 customization?

After the first time, I always did and do it...

Thank you for your patience and support