[Q] Installing new ROM on Encrypted Phone - Galaxy Note II Q&A, Help & Troubleshooting

Hi,
I have note 2 international N7100 and is rooted. My office email enforced the encryption and the phone was encrypted completely. it was working fine and yesterday it was stuck in boot loop and it did not start. I tried restarting but nothing different than the bootloop. I flashed CM9 . its flashed but does not start with E :Cant access /CAche and /recovery. I can go to CWMode and Download mode.. cant mount the /data and other folders that shows up in the phone.
Please help. Phone is recognized by Odin...

issameerr said:
Hi,
I have note 2 international N7100 and is rooted. My office email enforced the encryption and the phone was encrypted completely. it was working fine and yesterday it was stuck in boot loop and it did not start. I tried restarting but nothing different than the bootloop. I flashed CM9 . its flashed but does not start with E :Cant access /CAche and /recovery. I can go to CWMode and Download mode.. cant mount the /data and other folders that shows up in the phone.
Please help. Phone is recognized by Odin...
Click to expand...
Click to collapse
I had a similar problem on my tablet (look at signatur). It was not able to read cache and i was stuck at CWM and Download Mode. Then i've flashed a stock firmware with odin. Now it works again.

tryunus said:
I had a similar problem on my tablet (look at signatur). It was not able to read cache and i was stuck at CWM and Download Mode. Then i've flashed a stock firmware with odin. Now it works again.
Click to expand...
Click to collapse
I will try flashinng the stock rom from sammobile.. and i will post it..if its works.. I donnt know why cyanogenmod does not work?

issameerr said:
I will try flashinng the stock rom from sammobile.. and i will post it..if its works.. I donnt know why cyanogenmod does not work?
Click to expand...
Click to collapse
NOTE: Don't flash 4.3, flash 4.1.2, just a warning/reminder.
Smack that thanks button if I helped!
Note 2 LTE powered by Illusion ROM and Plasma Kernel.
Sent from dat small country called Singapore.
P.S. replies with quotes will be replied to faster.

Irwenzhao said:
NOTE: Don't flash 4.3, flash 4.1.2, just a warning/reminder.
Smack that thanks button if I helped!
Note 2 LTE powered by Illusion ROM and Plasma Kernel.
Sent from dat small country called Singapore.
P.S. replies with quotes will be replied to faster.
Click to expand...
Click to collapse
Ok..I am able to login to CWM, n install the os but it does not boot..its stuck in the bootloop. and the device is not USB debug enabled, and the /cache n /recovery folder are not accessible. cannot mount the /sdcard n /system folders..
Odin does not recognize the phone even after updated Samsung drivers for note 7100
In short, its a mess

issameerr said:
Ok..I am able to login to CWM, n install the os but it does not boot..its stuck in the bootloop. and the device is not USB debug enabled, and the /cache n /recovery folder are not accessible. cannot mount the /sdcard n /system folders..
Odin does not recognize the phone even after updated Samsung drivers for note 7100
In short, its a mess
Click to expand...
Click to collapse
1- Have you tried with a different USB Cable or socket. Maybe it's cable issue?
2- Can you wipe cache in CWM?
3- Did you try a factory reset after flashing the new rom?
There is not a easy way to enable USB debugging from recovery.

tryunus said:
1- Have you tried with a different USB Cable or socket. Maybe it's cable issue?
2- Can you wipe cache in CWM?
3- Did you try a factory reset after flashing the new rom?
There is not a easy way to enable USB debugging from recovery.
Click to expand...
Click to collapse
I tried this on 3 laptops and USB is not a problem I guess as one laptop recognized the device through ODIN.
I cannot wipe CACHE in CWM as it just pops up that it cannot mount or access the cache and Cannot do factory reset as well.
I am really not sure if I am gonna get this thing to work but I would not quit as this may be the thing that others may also face in future.

issameerr said:
I guess as one laptop recognized the device through ODIN.
Click to expand...
Click to collapse
Can't you flash with odin a stock firmware on this laptop where odin recognize the device?

tryunus said:
Can't you flash with odin a stock firmware on this laptop where odin recognize the device?
Click to expand...
Click to collapse
I downloaded the firmware 4.1.2 and flashed it via odin and it is still left in bootloop.. it flashed successfully but does not boots..
I see affter boot that it has no access to /cache and /Recovery and I cannot access this particular regions.. its frustrating..

issameerr said:
I downloaded the firmware 4.1.2 and flashed it via odin and it is still left in bootloop.. it flashed successfully but does not boots..
I see affter boot that it has no access to /cache and /Recovery and I cannot access this particular regions.. its frustrating..
Click to expand...
Click to collapse
Can anyone suggest any solution for this one please....

Some info..
I used Ketan's rom for note and browsed the files for Cache, recovery and all I see is they are empty even after flashing multiple times.. and when I change the permissions, they dont get changed on the Cache/recovery.. neither I can mount them..
I am trying to see If I can access the folders using Ubuntu on VMware player.. or atleast format the int SD card..

dmesg|tail through Ubuntu gives this :
[ 861.185368] usb 1-1: Manufacturer: samsung
[ 861.185371] usb 1-1: SerialNumber: <deleted the Serial number>
[ 862.373350] usb 1-1: USB disconnect, device number 7
[ 862.990579] usb 1-1: new high-speed USB device number 8 using ehci-pci
[ 863.277887] usb 1-1: New USB device found, idVendor=18d1, idProduct=d001
[ 863.277896] usb 1-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[ 863.277901] usb 1-1: Product: GT-N7100
[ 863.277904] usb 1-1: Manufacturer: samsung
[ 863.277908] usb 1-1: SerialNumber: <deleted the Serial number>
[ 1051.224486] systemd-hostnamed[4478]: Warning: nss-myhostname is not installed. Changing the local hostname might make it unresolveable. Please install nss-myhostname!
Used Heimdall and printed the pit file from device when it was in downloading mode:
Initialising connection...
Detecting device...
Claiming interface...
Attempt failed. Detaching driver...
Claiming interface again...
Setting up interface...
Checking if protocol is initialised...
Protocol is not initialised.
Initialising protocol...
Handshaking with Loke...
Beginning session...
Session begun with device of type: 131072
Downloading device's PIT file...
PIT file download sucessful
Entry Count: 20
Unknown 1: 1598902083
Unknown 2: 844251476
Unknown 3: 30797
Unknown 4: 19757
Unknown 5: 19780
Unknown 6: 0
Unknown 7: 0
Unknown 8: 0
--- Entry #0 ---
Unused: No
-- Few more edits may come as I progress a bit.--
I am struggling and dont want any one else to struggle.. I want to access the internal SD card and Format it completely.. and reinstall the Android Rom with repartitioning.. (My plan for now)

Related

[Q] T999(Tmobile) Root ADB Linux?

I got a new phone, SGS3, and after 24hours I decided it needs a stripped ROM. I have always used ADB and, or FASTBOOT on my other phones. I cant find anything saying how to get root other than through ODIN. I dont run windows though. I cant figure out how to get rw on anything other than the sdcards in the ADB shell. It doesnt come with SU or BUSYBOX. I copied both from my last phone to /storage/sdcard0 and updated PATH, still no luck.
I did sideload an OTA firmware (no root). When I try to sideload anything else it copies over then fails verification. OEM recovery says, "E:failed to mount /sdcard". Any tips for me to gain root without windows? What partition is recovery (double checking) so I can push/load TWRP too? No luck with Goomanager, nothing actually installs. I couldnt get root66 or a few other rooted roms either. Thanks for any help. Sorry, for such a simple question.
Ok. Im using Heimdall-1.4.0 on Knoppix (Live) and getting flash counts now. Heimdall upload fails "ERROR: Failed to confirm end of file transfer sequence!" but the counter shows the flash. I flashed --no-reboot, pulled the battery and booted directly into recovery (showed the blue text) but it never loaded recovery and after about 3 minutes it booted the OS. I tried to boot recovery again and OEM recovery was back. I tried TCWM and CWM. I have no Windows PC or discs for VMBox, and WINE didnt detect it.
PS. Well, i took it too far. I couldnt get it to flash recovery but I did flash boot. If I remember correctly, heimdall --no-reboot --flash --7 boot.img. I did it once and it skipped recovery (i was trying) and booted the OS. I rebooted again and recovery was back. I did another boot.img and now it wont boot. No recovery, download or boot. The buttons do nothing now. It does light the led red sometimes when plugged in. It does not get seen by adb, Heindall and even Odin. (I borrowed an Ex's Vista briefly). I even tried installing the Samsung USB drivers.
Here is dmesg...
Code:
[11397.924122] usb 1-3: new high-speed USB device number 22 using ehci_hcd
[11398.056989] usb 1-3: New USB device found, idVendor=05c6, idProduct=9008
[11398.056999] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[11398.057006] usb 1-3: Product: QHSUSB_DLOAD
[11398.057012] usb 1-3: Manufacturer: Qualcomm CDMA Technologies MSM
[11398.057603] qcserial 1-3:1.0: Qualcomm USB modem converter detected
[11398.057824] usb 1-3: Qualcomm USB modem converter now attached to ttyUSB0
Any ideas? Am I totally stuck at jtag?

[Q] International (unlocked) Note 2 N7105 16GB 4.4.3 won't flash

Hi guys,
Last night, as I was using some app on my phone, it froze and wouldn't respond to anything. So I held the power button and let it reboot... except it wouldn't. The screen when off, and came back to the Samsung logo screen, but it wouldn't go past that.
I've rooted this phone in the past, but I am currently unrooted and on the stock 4.4.3 ROM from sammobile. No crazy tricks or anything. The phone will go into download mode, but I ODIN flashing fails (I've tried 2 or 3 versions of ODIN), and it will go into Android system recovery <3e> (I get a red triangle over a dead Android) then it says things like
Failed to mount /efs
Failed to mount /system
Manual mode
Applying multi-CSC
Failed to mount /system (no such file or directory)
Failed to mount /cache.....
...there is a lot of this kind of stuff, and then it gives me the options to reboot, apply update from ADB, external storage, etc...none of which work. I've tried wiping partitions, factory resets, flashing with ADB...
In Download mode, when I try to flash the stock ROM using ODIN, it fails. Differently worded errors in different versions, but in short, it's failing to write.
It's been 24 painful hours of reading threads on XDA and loads of other sites, and trying to fix this. Finally, I think my problem (or combination of problems) might just be unique to me. My gut feeling is that the internal SD card is corrupted, and I need to re-partition it, but I'm not sure, and I don't know how...
Please help...
Try reinstall drivers, another port usb or another usb cable. First you can try reinstall drivers and change usb port.
dannchelu said:
Try reinstall drivers, another port usb or another usb cable. First you can try reinstall drivers and change usb port.
Click to expand...
Click to collapse
Hi Dannchelu. I tried that already. I installed Kies and uninstalled to get the latest drivers, but I've also tried to remove the drivers and install them separately. Drivers seem to be fine.
Also tried 2 separate cables, although I think I'm getting a successful connection with ODIN...just not able to write to the internal partition...
For repartition search xda for pit file . You need a pit file for your phone model which you can flash with odin. You need to read very good steps to follow because you can hardbrick your phone.
Sorry for bad english.

My Tab S t705 failed to boot any ROM

I flash twrp v2.7.1.1 as my recovery mode.
Managed to go in the recovery, but failed to flash any ROM.
It keep telling me "Installing '/eternal_sd/rom-to-be-installed.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
Error flashing zip '/external_sd/rom-to-be-installed.zip'
Updating partition details...
What should i do? I've done wipe the cache and factory reset but still no luck to install and now i'm stuck and going now where...
please help, i've download the official firmware as well to flash back but yet still the same error... =(
can anyone please help me on this?
:crying::crying::crying:
danieltanz said:
I flash twrp v2.7.1.1 as my recovery mode.
Managed to go in the recovery, but failed to flash any ROM.
It keep telling me "Installing '/eternal_sd/rom-to-be-installed.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
Error flashing zip '/external_sd/rom-to-be-installed.zip'
Updating partition details...
What should i do? I've done wipe the cache and factory reset but still no luck to install and now i'm stuck and going now where...
please help, i've download the official firmware as well to flash back but yet still the same error... =(
can anyone please help me on this?
:crying::crying::crying:
Click to expand...
Click to collapse
Does this even happen flashing tar file of official firmware through Odin?
pdolton2000 said:
Does this even happen flashing tar file of official firmware through Odin?
Click to expand...
Click to collapse
I can't get Odin connected. I plug in windows detected and shows on the task at there but grey off can't accessed it. Odin can't find where it was connected too
danieltanz said:
I can't get Odin connected. I plug in windows detected and shows on the task at there but grey off can't accessed it. Odin can't find where it was connected too
Click to expand...
Click to collapse
Check out device manager whilst connected via USB in download mode, if there's any devices with yellow symbols it probably means you need the adb drivers found here
http://developer.android.com/sdk/win-usb.html
Then Odin should pick up your tab and your in business, Odin is your way out of this I believe.
pdolton2000 said:
Check out device manager whilst connected via USB in download mode, if there's any devices with yellow symbols it probably means you need the adb drivers found here
Then Odin should pick up your tab and your in business, Odin is your way out of this I believe.
Click to expand...
Click to collapse
It does detect in my windows now i can see and through device manager, it has been assigned to com port 2 but odin still failed to detect any incoming port...can i manually tell odin that transfer it via com port 2? Because i did realized when i boot to recovery the first thing will appear is TWRP...that cause the the Odin cant detect it through...
danieltanz said:
It does detect in my windows now i can see and through device manager, it has been assigned to com port 2 but odin still failed to detect any incoming port...can i manually tell odin that transfer it via com port 2? Because i did realized when i boot to recovery the first thing will appear is TWRP...that cause the the Odin cant detect it through...
Click to expand...
Click to collapse
Okay show me a screenshot of device manager whilst tablet is connected in download mode, also expand any sub catogeries that contain either your adb device in it or anything with samsung in it if you can...you shouldn't need to play with com ports really, if the adb USB drivers are installed and the adb device shows up in device manager Odin's meant to detect it automatically, also right click on the adb device in device manager and click properties, and go to the section where it shows driver version and screen shot that just so I can verify a couple of things...sounds to me like its not using googles adb driver but can't be sure.
pdolton2000 said:
Okay show me a screenshot of device manager whilst tablet is connected in download mode, also expand any sub catogeries that contain either your adb device in it or anything with samsung in it if you can...you shouldn't need to play with com ports really, if the adb USB drivers are installed and the adb device shows up in device manager Odin's meant to detect it automatically, also right click on the adb device in device manager and click properties, and go to the section where it shows driver version and screen shot that just so I can verify a couple of things...sounds to me like its not using googles adb driver but can't be sure.
Click to expand...
Click to collapse
What I did is, I uninstall the driver from device manager, reboot my laptop let windows re-detect it again and walla..it found the new hardware and driver being installed again. Run odin, my device added and I flash back the original rom with the download mode and everything back to normal. Thank you so much for your help spending your time to help me troubleshoot together.
Appreciate all your help.
danieltanz said:
What I did is, I uninstall the driver from device manager, reboot my laptop let windows re-detect it again and walla..it found the new hardware and driver being installed again. Run odin, my device added and I flash back the original rom with the download mode and everything back to normal. Thank you so much for your help spending your time to help me troubleshoot together.
Appreciate all your help.
Click to expand...
Click to collapse
That's perfect mate glad it all worked outout for ya.
pdolton2000 said:
That's perfect mate glad it all worked outout for ya.
Click to expand...
Click to collapse
I would like to flash it too lolipop but is it good enough? Will it cause me hang again like before? Any advice
I cannot give you any advice for lollipop as I've never tried it, I only have t805 which its not available for yet, but if I did own a t705 I would definitely take a look at this:
http://forum.xda-developers.com/galaxy-tab-s/development/rom-blisspop-team-bliss-t2987234
Some people love it, some don't...but it seems feature packed anyway...good luck pal enjoy your working tab.

Connecting problem

Hi friends.
First of all, i have read similar threads but nothing changed.
i have Galaxy S4 mini I9190
4.2.2. UBNA1 Turkey Rom and root.
I think i deleted a system file including usb setting.
Now i can't connect pc.
I tried to factory reset, nothing changed, even so, root has gone.
Now:
* i can't flash new rom
* i can't connect to odin
* i can't do wipe data cache
* i can't get root
i changed usb socket (maybe socket is broken) but nothing changed.
i thing that problem is about software.
if i get ROOT, i can edit system file.
Please help.
Thanks.
Climanjaro said:
Hi friends.
First of all, i have read similar threads but nothing changed.
i have Galaxy S4 mini I9190
4.2.2. UBNA1 Turkey Rom and root.
I think i deleted a system file including usb setting.
Now i can't connect pc.
I tried to factory reset, nothing changed, even so, root has gone.
Now:
* i can't flash new rom
* i can't connect to odin
* i can't do wipe data cache
* i can't get root
i changed usb socket (maybe socket is broken) but nothing changed.
i thing that problem is about software.
if i get ROOT, i can edit system file.
Please help.
Thanks.
Click to expand...
Click to collapse
flash stock rom again and you can search it from gooogle
How can I flash?
I can't connect to Odin.
Climanjaro said:
How can I flash?
I can't connect to Odin.
Click to expand...
Click to collapse
First re-install samsung usb drivers on ur pc. Then go to dowload mode and flash stock rom. Editing system file should not affect odin connectivity.
sasank360 said:
First re-install samsung usb drivers on ur pc. Then go to dowload mode and flash stock rom. Editing system file should not affect odin connectivity.
Click to expand...
Click to collapse
I think you didn't understand me.
Even I install USB driver, not connected to PC in download mode.
I have to find a way install from SD card.
No connection in download mode, normal mode, recovery mode.
Can I root from SD card?
Climanjaro said:
I think you didn't understand me.
Even I install USB driver, not connected to PC in download mode.
I have to find a way install from SD card.
No connection in download mode, normal mode, recovery mode.
Can I root from SD card?
Click to expand...
Click to collapse
What recovery do u have? If it is custom like cwm or twrp then you can flash a rom.
But i don't think the system file is responsible for download mode recongition. Try another usb cable and use odin as administrator.
PS :: Can you post a screenshot of the devices section from control panel on your pc??
sasank360 said:
First re-install samsung usb drivers on ur pc. Then go to dowload mode and flash stock rom. Editing system file should not affect odin connectivity.
Click to expand...
Click to collapse
sasank360 said:
What recovery do u have? If it is custom like cwm or twrp then you can flash a rom.
But i don't think the system file is responsible for download mode recongition. Try another usb cable and use odin as administrator.
PS :: Can you post a screenshot of the devices section from control panel on your pc??
Click to expand...
Click to collapse
I am using original stock rom, Not cwm or custom.
I tried another cable and PC.
When connect to PC, PC says "undefined hardware".
Neither connect in download mode, nor normal mode.
When I arrived home, I send screenshot.
If it says undefined hardware then there is something wrong with drivers.
Also it is possible that micro usb port on your device is malfunctioning.
Download and install latest samsung kies. It has latest usb drivers.
sasank360 said:
If it says undefined hardware then there is something wrong with drivers.
Also it is possible that micro usb port on your device is malfunctioning.
Download and install latest samsung kies. It has latest usb drivers.
Click to expand...
Click to collapse
I tried that, another PC, another cable, reinstall driver bla bla bla.
There is no way to connect to PC.
We have to install from SD card.
What do u want to install from sd card??
Anyway from the looks of it the microusb port on you device seems to be the culprit.
Better go to samsung service.

Partialy broken USB, or broken Zenphone5? Strange...

Hi guyz,
I recived Zenphone 5 (T00j, WW) with KitKat 2.21.40.44 . The problem is that phone cannot be recognized as storage device on any computer. Please note that I'm skilled in computers, mobie devices, rooting, changing IMEI, reset counters and so on....so please don't write things like "try install correct USB drivers... ). So, the problems are 2:
1, phone cannot be recognized as USB storage on any PC - it fails with info "This device is disabled because the firmware of the device did not give it the required resources. (Code 29)" and in Device Manager is allways visible only as "Unknown Device". I installed all possible USB drivers. I can charge this phone via USB. It also doesn't respond on "ADB devcies" command of course. So it's not clear now if it's SW-related problem, or HW related (smashed circuit on PINs, resposible for In/Out data communication). I don;t know history of this phone...
2, I tried to eliminate SW-related issue. I made factory reset via Recovery mode. Downloaded FOTA update (appr. 90MB file). Rebooted to install it, but installation failed after few seconds in Recovery mode with broken android icon with this message :
Installing update...
Veryfyig current system...
assert failed: apply_patch_check("/system/app/AWS.apk" , ...some bull**** codes....
return code 8E:Error in /cache/dlpkgfile
(Status 8)
E: fota_return_code 403
E:Install of /cache/dlpkgfile failed with status 1
Installation aborted.
E:Installation failed with status 1
So I rebooted, and moved whole KK installation UL-ASUS_TooF-WW-5.2.2.2-user.ZIP through SD card to phone root. Phone found new installation .ZIP file, so I choosed install, it rebooted, started installing, but result was the same error message. So I wiped cache, made factory reset and trid once more, but result is the same. So it's not clear if the probelm is somewhere in /system/app/AWS.apk (maybe is missing in the system, I cannot confirm because of broken USB I cannot root it), or if the problem is in cache partition with file /cache/dlpkgfile
Can you please help me somehow guyz? Thank you very much
install Intel Android USB driver .......
As I wrote before : "don't ask me for installing drivers..." - of course I installed Intel Android USB drivers But it doesn't help. I'll try to dwnld L to SD card and move it to root folder. Maybe whole L installation will solve this problem...it looks that it's SW-realted as is described in Windows Unknown device driver: "This device is disabled because the firmware of the device did not give it the required resources. (Code 29)" . So Windows knows that something tries to cennect, and this eliminates HW failure of USB port
zenphone said:
As I wrote before : "don't ask me for installing drivers..." - of course I installed Intel Android USB drivers But it doesn't help. I'll try to dwnld L to SD card and move it to root folder. Maybe whole L installation will solve this problem...it looks that it's SW-realted as is described in Windows Unknown device driver: "This device is disabled because the firmware of the device did not give it the required resources. (Code 29)" . So Windows knows that something tries to cennect, and this eliminates HW failure of USB port
Click to expand...
Click to collapse
You changed the usb cable as well?
ozank said:
You changed the usb cable as well?
Click to expand...
Click to collapse
Of course. I used 3 cables, and also 3 different computers
zenphone said:
Of course. I used 3 cables, and also 3 different computers
Click to expand...
Click to collapse
Then you maybe want to change the usb board inside of phone
Install Intel USB driver
ozank said:
Then you maybe want to change the usb board inside of phone
Click to expand...
Click to collapse
Yes, that's unfortunately the reason of whole issue. I successfuly updated Android L through SD card -> no change. I made downgrade back to KK -> no change. Phone has burned data circuit inside board. OK, no problem, I can live with this :good:

Categories

Resources