yashsingh1/xdaforums huggingface dataset:
[MDA II, XDA II, 2060 General] mtbsoft:
Does anyone know of a way to actually remove the New menu from the task bar? I can remove all the items from it easily enough and remove the menu button from the left of it but I'd like to get rid of it altogether.

I have eleven items already displayed down there and as soon as anything starts that creates another icon, it disappears out of view 'behind' the New menu. In particular, because PZP like the left hand of the task bar, it keeps disappearing from view which is a real pain.

O2 Xda II

1.60WWE
[Android Q&A, Help & Troubleshooting] omega96:
I have a MTK6575 (Thunderbird i5) smartphone and I think I bricked it. While flashing my phone with SP Flash Tool I accidentally disconnected my phone, I tried to reconnect it and start over, but, when I do, it shows me this message:

"One of the USB devices attached to this computer has malfunctioned, and Windows does not recognize it. For assistance in solving this problem, click this message."

When I click it, it shows me Unknown Device.

Is there any way to recover my phone? BTW, I can't take out my battery.

Please help!!!
[Android Q&A, Help & Troubleshooting] inaqi69:
Are you using windows?
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Justink978:
Does any one know how to switch from cwm recovery to trwp recovery? I'm current running ViSion Rom 1.3
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] graydiggy:
Goo manager. You go to menu, then install openrecoveryscript
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] bo8:
ROM Toolbox has a recovery installer that includes TWRP. Just run the install; it'll overwrite current recovery.

It's under Tools - ROM Management - Recovery
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] jeffreii:
I don't recommend using an app to install a custom recovery. I've seen too many reports of people bricking their device with it.

It's just as easy to use a simple tool to do it...this is the one I prefer:

http://xdaforums.com/showthread.php?t=2297033&highlight=oudhs

It lets you pick TWRP or CWM and will do the whole thing for you.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] jd1639:
If you use rom manager or goo manager ONLY for putting a recovery on it works pretty well. It's when you use it to flash roms is when you can get into trouble. I'd recommend deleting it after getting your recovery. It's too easy to play with it and find the wrong rom for your device. Especially for someone new to flashing.
[One (M7) Q&A, Help & Troubleshooting] Actuamy:
Guys I need help.....anyone could give me the stock recovery for base 1.28.771.6 please??
[Sony Xperia P, U, Sola, Go] AGONTUK:
F.A.Q

​

1. Will this work on GB,ICS ?

Ans: Now Working For ICS based ROM too. See this post for kexec patched kernels

ICS kernel with kexec support

For GB, you have to wait for kernel.

2. How can I remove the second ROM ?

Ans: Make sure you are in primary ROM, then just delete the 3 partitions from sdcard.

3. Can't unmount sdcard: device or resource busy

Ans: Type fuser -km /sdcard. It'll kill all the process that's keeping your sdcard busy. Then unmount sdcard.

4. Getting status 7 error ?

Ans: Delete assert function from updater-script.

5. Wifi's not working even after flashing modules from attachment ?

Ans: Unpack initrd.gz and see if there's a lib/modules folder inside it. If it exists and deep inside there are 2 modules, then you need to replace them with the ones from attachment.

6.Getting status 6 error no matter what ?

Ans: Always edit files in unix/utf-8 format and use compression method store to push files in zip. NEVER USE DOS FORMAT.

7.Getting "somthing went wrong. please see log!" in bootmenu ?

Ans: You have done something wrong in settings.ini or folder naming. Check again.
[Sony Xperia P, U, Sola, Go] JohnLouise:
Very good tut. Men !
[Sony Xperia P, U, Sola, Go] mohammadagha:
Nice Bro,

So we don't need system.ext4, data.ext4 and cache.ext4 in sdcard?

I think this thread belong to Xperia U develompent section.
[Sony Xperia P, U, Sola, Go] AGONTUK:
thnx :)

Yes we'll need them for second ROM. I'll upload guides for them soon :cool:

If it belongs to dev section, pls can someone tell the moderator to move it ?
[Sony Xperia P, U, Sola, Go] cesanaboia:
Nice

You are the best :good::):laugh:
[Sony Xperia P, U, Sola, Go] myawan:
Good start!
[Sony Xperia P, U, Sola, Go] dd98:
very nice tutorial
[Sony Xperia P, U, Sola, Go] mohammadagha:
[MENTION=5138693]NoobCoder[/MENTION] How the hell did u take screenshot in bootmenu recovery bro? :laugh:

Delete this thread fast and make new one in Development section because if u wait for Moderators and they say u can not move thread, Many pepole will lost this good thread.:good:
[Sony Xperia P, U, Sola, Go] Anthrax:
Thanks for this bro.... waiting for other part..... :cheers:
[Sony Xperia P, U, Sola, Go] mohammadagha:
cmdline in setting.ini belongs to Xperia U, You can find it for sola, Just open kernel.elf for sola with notepad, You can find it at the end of notes.
[Sony Xperia P, U, Sola, Go] AGONTUK:
By DDMS ;). Also I reported this thread to move into the dev section, but moderator said this is the right section. Anyway to all users, please report this thread to make it sticky/pinned so that no one have any problems finding it :)
[Sony Xperia P, U, Sola, Go] dd98:
in step 2 i got this error in cmd:

Using existing folder ./boot

dd: can't open 'boot.img': No such file or directory

FAILURE to dump boot.img to ./boot! Pllease try another folder!

I know what kernel i'm using so can i just extract it with winrar
[Sony Xperia P, U, Sola, Go] Aamirx27:
can u post same for Xperia P
[Sony Xperia P, U, Sola, Go] AGONTUK:
No, boot.img can't be extracted with winrar. you copied the boot.img to /data/local/tmp, right ? Please provide a screenshot if this doesn't help you.

Sorry bro, munjeni stopped P's development. So I can't do it :(
[Sony Xperia P, U, Sola, Go] ChinmayKunkikar:
Thanks mate! I was waiting for this for a long time. It ws actually ment for go and sola, but ultimately, munjeni ended up with developing it for U :p

Thanks to him too! :)

One more question.

What exactly i have to do to make this for sola?

Sorry to bother you..
[Sony Xperia P, U, Sola, Go] AGONTUK:
Guess we're the lucky ones :D. Also there were many user who tried to test. That encouraged munjeni bro to keep the thread updated.

I'll check files uploaded by munjeni to get an idea how to do it in sola. But I think he mentioned it in post 4 in sola section. Check that and follow this guide. I'm sure you'll be able to do it :)
[Sony Xperia P, U, Sola, Go] cesanaboia:
Can't umount

When I write umount /sdcard (final step) the CMD say me: can't umount /storage/sdcard0: Device or resource busy.

But I have 1.2 gb free space in the SD. Why?
[Sony Xperia P, U, Sola, Go] AGONTUK:
That's strange. It didn't occur to me. You have 1.2GB free after creating all partition or before? If before, then you have to free more space. If it doesn't help, pls post a screenshot. Also don't create partitions yet. I'll update the post with new code.
[Sony Xperia P, U, Sola, Go] ale467:
No, it doesn't work :( :crying:
[Sony Xperia P, U, Sola, Go] siddheshvartak:
hey

can you please tell me what you did actually???

step by step..

because i got the same error...
[Sony Xperia P, U, Sola, Go] AGONTUK:
PM me the link of the ROM you want to install. I guess I have to test myself to know the errors :p
[Sony Xperia P, U, Sola, Go] Anthrax:
just to help you guys.....

Do one thing...... delete everything and then start from the scratch....... i.e. first step........ and follow the instructions carefully....... you will sure get it to work....

for the music and pics not found will check again by flashing the whole ROM again....

Also one more question..... for flashing another ROM as second ROM i will have to edit the script again...... right?
[Sony Xperia P, U, Sola, Go] Penacal:
I agree,I think u guys just need to read carefully:) I manage to successfully boot CM10.1,CM10 and CM9, from sd card :pwithout major issues, just by follow all the steps on this thread
[Sony Xperia P, U, Sola, Go] ale467:
But i don't want to lose my data..

Inviato dal mio ST25i con Tapatalk 2
[Sony Xperia P, U, Sola, Go] AGONTUK:
Guys, I'll f***ing kill you :p. I just installed SlimCM by elia222 without any status error. :angel:

That means you guys have the problem. I had to format my smooth CM 10.1 for this :crying:
[Sony Xperia P, U, Sola, Go] ale467:
So, please can you share initr.gz and updater-script please? :P

Or a zip ready to flash :)

Inviato dal mio ST25i con Tapatalk 2
[Sony Xperia P, U, Sola, Go] AGONTUK:
nope, cause I changed nothing. Just follow these steps

1) If you're using my initrd.gz, then move all 3 partitions to /sdcard/ICS folder

2) modify the script or use the one I provided.

While pushing the modified script to ROM, choose compression method store

. I think that's where you guys made a mistake.

yes
[Sony Xperia P, U, Sola, Go] ale467:
What means "compression method store"? Sorry but I'm italian and I don't understand :)

Inviato dal mio ST25i con Tapatalk 2
[Sony Xperia P, U, Sola, Go] Penacal:
It's a winrar option that appears, when you put the update script back in the zip folder, storage method option: normal, store,etc I had to download winrar in English to understand that
[Sony Xperia P, U, Sola, Go] ale467:
Tried using initrd.gz and updater-script from NoobCoder, but, bro, I've used "store" compression method, and I've got the same status 6 error!

EDIT: SOLVED FINALLY!

I used dos2unix to convert updater-script format!!!

"Status 6

This is usually caused by CR/LF EOL(Windows style End Of Line) in updater-script. Change it to LF EOL(Unix Style EOL) using Linux command: dos2unix updater-script, then re-signing the ZIP, will usually fix this error."

I used dos2unix for Windows!

Big thanks to [MENTION=4120742]munjeni[/MENTION] for multi boot and [MENTION=5138693]NoobCoder[/MENTION] for the guide! :victory:
[Sony Xperia P, U, Sola, Go] Little Zed:
Will try bro :)

---------- Post added at 07:50 AM ---------- Previous post was at 07:48 AM ----------

Dos2Unix? :/ Please provide the guide and also which kernel you're using now? My kernel?
[Sony Xperia P, U, Sola, Go] hmehta:
need help

while modifying ramdisk of second ROM

init.st-ericsson.rc

Quote:

on fs

# If you change anything here, make sure to update

# <root>/vendor/semc/system/bootstrap/masterreset/fstab.riogrande

# accordingly.

setprop ro.crypto.state unsupported

wait /dev/block/mmcblk0p14

mkdir /sde

mount vfat /dev/block/mmcblk0p14 /sde rw wait

exec /sbin/losetup /dev/block/loop1 /sde/your_folder/system.ext4

exec /sbin/losetup /dev/block/loop2 /sde/your_folder/data.ext4

exec /sbin/losetup /dev/block/loop3 /sde/your_folder/cache.ext4

exec /sbin/e2fsck -y /dev/block/loop2

I have saved my partitions in:

/sdcard/partx/

so how am i suppose to write the above code??
[Sony Xperia P, U, Sola, Go] Little Zed:
After many attempts and mamy workout, I successfully booted stock ICS (primary) and xMIUI (secondary). Thanks fpr the guide bro NoobCoder. Thanks for the kexec kernel bro DevSwift1. Thanks for the dos2unix bro ale :)

PS: bro NoobCoder, you should suggest everyone to use dos2unix because while edited updater-script and run dos2unix updater-script and place in the zip. The zip wprks 100%. Thanks to bro ale. :)

Screenshots

ICS (primary)

xMIUI (secondary using slidingCM (my own edited kernel solved by bro ale))

---------- Post added at 09:18 AM ---------- Previous post was at 09:17 AM ----------

You rock!!!! You are very awesome for finding this! You made my day again. Thank you.

---------- Post added at 09:20 AM ---------- Previous post was at 09:18 AM ----------

/sde/partx/system.ext4

/sde/partx/data.ext4

Something like that :)
[Sony Xperia P, U, Sola, Go] hmehta:
I tried that..but the second ROM doesnt boot up.

why have we used /sde/

are we suppose to write /sdcard/ instead ?
[Sony Xperia P, U, Sola, Go] Little Zed:
I write /sde/ not /sdcard/

If you want, try that.. But bypassing the OP is not recommended if you have something error.. :D
[Sony Xperia P, U, Sola, Go] hmehta:
Help please..

hey could u please tell me where did u save your three partitions..?

and what was the code which u wrote for modifying ramdisk?
[Sony Xperia P, U, Sola, Go] Little Zed:
Wifi is not working on second ROM again.. I unpack ramdisk and place wifi modules from the bro [MENTION=4318865]DevSwift1[/MENTION] and repack initrd.gz and still not working. Tried placing modules from /system/lib/modules to bro [MENTION=4318865]DevSwift1[/MENTION] modules also. But still no luck.. :/
[Sony Xperia P, U, Sola, Go] dotafan:
Instead of using dos2unix use notepad++. It preserves Eol in current format

Winter is Coming
[Sony Xperia P, U, Sola, Go] Little Zed:
Will try :(

---------- Post added at 12:37 PM ---------- Previous post was at 12:10 PM ----------

I got error on cm9 slim ROM.. It says type password to decrypt storage.. What the f is that problem?? :/
[Sony Xperia P, U, Sola, Go] AGONTUK:
Well I did mention it in the requirements. I never thought you guys will make this mistake ;)

Just to be sure, I now also included this in FAQ section.
[Sony Xperia P, U, Sola, Go] Little Zed:
Now I lost /dev/block/loop2 and loop3 and cannot be losetup anymore. I deleted old partitions just to use another ROM and I got this error.. What was that?
[Sony Xperia P, U, Sola, Go] DaniPhii:
That's maybe because you haven't replaced them in the ROM… :S
[Sony Xperia P, U, Sola, Go] Little Zed:
Can you help me with lost loop2 and loop3 ??

I have to mke2fs for loop2 and 3 again ??

I deleted old partitions from sdcard and now I cannot losetup to loop2 and loop3 again..
[Sony Xperia P, U, Sola, Go] DaniPhii:
Then you have to make new partitions, if you deleted them, there's no partition to mount in loop blocks.
[Sony Xperia P, U, Sola, Go] Anthrax:
[MENTION=5138693]NoobCoder[/MENTION]: Tried installing the second rom again, and again with the standard steps i.e. format system, clear cache, dalvik, install rom, clear cache and dalvik..... still unable to see music files and also pics in gallery and music player.... also wifi still not working.....

I think I have to recheck the whole Ramdisk edited files for any errors.....

If you or [MENTION=4120742]munjeni[/MENTION] can think of anything else do let me know......
[Sony Xperia P, U, Sola, Go] Little Zed:
but how? I created them but cannot losetup ...
[Sony Xperia P, U, Sola, Go] AGONTUK:
Try this. Go to apps->apollo->clear data. Then go to /sdcard/Android/data. Delete the folder com.andrew.apollo. Restart your phone, wipe cache, dalvik just in case. Now see if these problem still remains.

Obviously you're doing something wrong cause you successfully did this before. Try again, if fails then provide screenshot with your device state (powered on or in bootmenu).
[Sony Xperia P, U, Sola, Go] ale467:
Used notepad++ yesterday, but, unfortunatelly, it didn't work for me. So i decided to use dos2unix ;)

And my SlimCM works perfectly!! ;)

Inviato dal mio ST25i con Tapatalk 2
[Sony Xperia P, U, Sola, Go] chessmanyaki:
nice tutorial is it possible to multiboot gb rom and ics rom?or jb rom and ics rom? or just jb rom and jb rom?Sorry for my English:)
[Sony Xperia P, U, Sola, Go] Little Zed:
/dev/block/loop2: No such device or address. Dafuq? I did eveything again and got the same error. :/
[Sony Xperia P, U, Sola, Go] bibhu059:
status 6 error
[Sony Xperia P, U, Sola, Go] ale467:
Have you read FAQ and previous pages???

Inviato dal mio ST25i con Tapatalk 2
[Sony Xperia P, U, Sola, Go] bibhu059:
[MENTION=5138693]NoobCoder[/MENTION] :can you edit my update script..i am providing below
[Sony Xperia P, U, Sola, Go] AGONTUK:
Here is your updater-script. And please don't tell me to do anyhting, I'm Just One Man bro. Please try yourself hard and if you can't understand something, I can always give you guidance. :good:

Yes, all are possible
[Sony Xperia P, U, Sola, Go] ale467:
[MENTION=5138693]NoobCoder[/MENTION] bro please, share your CM10.1 ramdisk for sdcard boot, because I can't unpack it and repack using ICS as base with ADB!
[Sony Xperia P, U, Sola, Go] bibhu059:
A huge thanx to the developer of this thread ..now I have installed ics as 2nd ROM sucessfuly.no wifi problem..everything working fine..:)
[Sony Xperia P, U, Sola, Go] munjeni:
Reboot mate! If not working than these error mean: file not exist in these path! Double check path to the ext4 file in your command!! Thats hapened if these ext4 file not exist in your command "path" ;)

For example (you will get these error):

losetup /dev/block/loop1 /sde/not_existant_foldr/system.ext4

Or for example (you will get these error):

losetup /dev/block/loop1 /sde/existant_folder/but_not_existant.ext4

Simple use command "ls /sde/folder_you_going_to_check" to be sure if file_blalba.ext4 exist, if exist than losetup them!! Hope this help!
[Sony Xperia P, U, Sola, Go] Little Zed:
Yes sir!! ext4 file is there and I created it but still no luck. I think I have to change directions and re-dump kernels. If that's not solving, I will flash ICS stock firmware again.
[Sony Xperia P, U, Sola, Go] munjeni:
I am 100% sure you missing something in your "command" ! No need to reflash, simple refresh our page and read previous post carefully because post is edited, it will work for sure! Allso double check if that is allready mounted by next commands:

losetup /dev/block/lop_device_you_going_to_check

or check if your partition is listed in mounts (if loop allready mounted to an folder):

mount

Error comming from 2 reasons:

- ext4 file not exist

- loop device is allready setup

- and last posible thing: you runing seccond rom but you trying to setup loop1 which have allready mounted your seccond rom???!!! :laugh:
[Sony Xperia P, U, Sola, Go] Little Zed:
I will try again bro :) Thank you for your help and your developments. You made our devices a shiny devices. Ok, going off-topic. Here's the thing. . .

First, I booted two ROMs (Stock and xMIUI which is CM9) and I want to change xMIUI to SlimCM so I booted up secondary kernel amd wipe data but it shows lots of error about can't wipe. Dunno why but I booted up xMIUI and can play Temple Run2 for hours which I installed in second ROM. So, I deleted all partitions and created again to boot SlimCM amd that's how the problems are started ;)
[Sony Xperia P, U, Sola, Go] munjeni:
You missing something its definitelly ;)
[Sony Xperia P, U, Sola, Go] Little Zed:
the last 2 reasons are possible answers. how could I format all and setup again?

---------- Post added at 10:46 PM ---------- Previous post was at 10:43 PM ----------

Definitely, I follow the OP bro. I think the last two reasons of your previous post is answers. How could I re-setup from the beginning?
[Sony Xperia P, U, Sola, Go] Me‎:
after seeing in reboot menu no option for the rom I changed the folder name of the rom and edited the settings.ini and it worked
[Sony Xperia P, U, Sola, Go] munjeni:
[MENTION=4951087]Little Zed[/MENTION] you can not use loop1 loop2 and loop3 because you booted seccond rom which have system data and cache partition in loop1 loop2 and loop3 !!! You can use these loops only when you have runing main rom (not seccond rom)! Hope this is clear now!
[Sony Xperia P, U, Sola, Go] cesanaboia:
Van someone upload. initr.gz for cm 10.1? Thanks!!
[Sony Xperia P, U, Sola, Go] ale467:
I want it too

Bro [MENTION=5138693]NoobCoder[/MENTION] please share this, I can't use ics as base!

Inviato dal mio ST25i con Tapatalk 2
[Sony Xperia P, U, Sola, Go] Little Zed:
I'm running main rom :) Anyway, I'm reflashing everything and do it from the beginning just to see if the error persists.
[Sony Xperia P, U, Sola, Go] AGONTUK:
Here it is http://xdaforums.com/showpost.php?p=45350559&postcount=109. Read the post carefully.

Do it again following 2nd post part1. I've made a small change in code. Hopefully it'll work out
[Sony Xperia P, U, Sola, Go] Little Zed:
OK bro! First thing first, I have an exam now :P After I get back, I'll do that.
[Sony Xperia P, U, Sola, Go] cesanaboia:
WELL! I have Stock JB v3 by kontini, cm9 and cm10.1 in my xperia u! Thanks a lot... xD xD
[Sony Xperia P, U, Sola, Go] Little Zed:
OK now. Everything solved. Now I can work well and boot up second ROM. Thanks to bro munjeni and bro NoobCoder. You guys are great!

Next issues: Wifi is working anfd everything except illumination bar. I flash well on cm9 and try to fix but not like in primary cm9. Screen won't sleep problem again and again. Does anybody have that issue? And I can't flash any mods in recovery and cannot even Gapps :/
[Sony Xperia P, U, Sola, Go] Me‎:
does this look right

root@android:/ # dd if=/dev/zero of=/sdcard/system.ext4 bs=4096 count=102400
dd if=/dev/zero of=/sdcard/system.ext4 bs=4096 count=102400
102400+0 records in
102400+0 records out
419430400 bytes (400.0MB) copied, 34.207672 seconds, 11.7MB/s
root@android:/ # losetup /dev/block/loop1 /sdcard/system.ext4
losetup /dev/block/loop1 /sdcard/system.ext4
losetup: /dev/block/loop1: No such file or directory
1|root@android:/ #

if yes why is row before last like that? and if not what should I change?
[Sony Xperia P, U, Sola, Go] AGONTUK:
No it doesn't. Try adb root & adb remount before doing this steps. Hopefully it'll solve the problem.
[Sony Xperia P, U, Sola, Go] munjeni:
Are you trying that while runing kexeced rom? If yes than it can not be working because you runing your rom allready from loop1 device!!! You can use loop3 loop4 and loop5 than.
[Sony Xperia P, U, Sola, Go] Me‎:
According to the guide I'm supposed to be running an kexeced rom, no?

if not should I flash the old kernel do this and reflash your kernel? or can I just use loop2 here and loop3 and loop4 later?
[Sony Xperia P, U, Sola, Go] AGONTUK:
What munjeni bro meant is that you have to be on primary rom while doing this. If you're on second rom you can't mount to loop1,2,3 cause second rom is already mounted on them.

And yes, of course you have to be on kexeced rom. Some steps can only be performed in bootmenu (like make_ext4fs).
[Sony Xperia P, U, Sola, Go] Me‎:
than no, I am on primary rom.

I think the problem is with adb itself since when I type "adb devices" I get "0123456789ABCDEF device"

and that seems wrong to me :(
[Sony Xperia P, U, Sola, Go] AGONTUK:
That's no problem. It's because you're on custom rom. I also get this in my CM 10.1 :). Just try the steps I mentioned above and see if it works.
[Sony Xperia P, U, Sola, Go] Me‎:
oh good to know about that,

before step one or two do I do that?

tried before both still same problem
[Sony Xperia P, U, Sola, Go] AGONTUK:
Do these steps first, like

adb devices
adb root
adb remount
adb shell
su
/******* then start the whole dd if=/............ **********/

if still losetup doesn't work, try losetup /dev/block/loop1 /storage/sdcard0/system.ext4 instead of /sdcard